nlohmann / json

JSON for Modern C++
https://json.nlohmann.me
MIT License
41.33k stars 6.58k forks source link

Fixed init-list construction when size_type is not int #4140

Closed tomalakgeretkal closed 9 months ago

tomalakgeretkal commented 10 months ago

Rationale in code comments. I thought about adding a new unit test but it was a bit beyond me. Feel free to make suggestions!

Note that this has yet to be amalgamated (waiting for https://github.com/nlohmann/json/pull/4083).

gregmarr commented 10 months ago

4083 has been merged

tomalakgeretkal commented 10 months ago

Amalgamated.

nlohmann commented 9 months ago

Thanks!