mirror of
https://github.com/nlohmann/json
synced 2024-12-13 04:50:10 +00:00
09cda57309
This commit works around an issue in std::initializer_list design. By using a detail::json_ref proxy with a mutable value inside, rvalue-ness of an input to list initializer is remembered and used later to move from the proxy instead of copying. |
||
---|---|---|
.. | ||
json.hpp |