1
0
mirror of https://github.com/nlohmann/json synced 2024-11-21 19:50:04 +00:00
nlohmannjson/include/nlohmann
Florian Albrechtskirchinger 0c7a18374c
Reimplement value() access functions (#3663)
* Reimplement value() access functions

* Merges the 'const char *' with the 'ValueType &&' overloads.
* Fixes ambiguities when default value is 0.
* Fixes 'no matching function' error when specifying ValueType template
  parameter.
* Fixes incorrect template parameter order in previous overloads.

* Add additional value() tests

* Make JSON_MultipleHeaders visible to unit tests

Define the macro JSON_TEST_USING_MULTIPLE_HEADERS to 0/1 depending on
JSON_MultipleHeaders.

* Add type_traits unit test

* Update documentation
2022-08-07 13:54:55 +02:00
..
detail Reimplement value() access functions (#3663) 2022-08-07 13:54:55 +02:00
thirdparty/hedley 🔖 set version to 3.11.1 2022-08-01 23:27:58 +02:00
adl_serializer.hpp 🔖 set version to 3.11.1 2022-08-01 23:27:58 +02:00
byte_container_with_subtype.hpp 🔖 set version to 3.11.1 2022-08-01 23:27:58 +02:00
json_fwd.hpp Add json_pointer/string_t equality comparison operators (#3664) 2022-08-05 14:08:27 +02:00
json.hpp Reimplement value() access functions (#3663) 2022-08-07 13:54:55 +02:00
ordered_map.hpp 🔖 set version to 3.11.1 2022-08-01 23:27:58 +02:00