json/include/nlohmann/detail
Florian Albrechtskirchinger 6df2a1a2cd Expose the actual comparison function used by object_t
nlohmann::ordered_map uses a different comparison function than the one
provided via template parameter.
* Introduce a type trait to detect if object_t has a key_compare member.
* Rename object_comparator_t to default_object_comparator_t.
* Add object_comparator_t to be conditionally defined as
  object_t::key_compare, if available, or default_object_comparator_t
  otherwise.
* Update the documentation accordingly.

Co-authored-by: Niels Lohmann <niels.lohmann@gmail.com>
2022-04-25 22:49:13 +02:00
..
conversions Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
input Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
iterators Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
meta Expose the actual comparison function used by object_t 2022-04-25 22:49:13 +02:00
output Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
exceptions.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
hash.hpp 🐛 adding missing header 2021-08-18 13:33:35 +02:00
json_pointer.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
json_ref.hpp 🚨 add new CI and fix warnings (#2561) 2021-03-24 07:15:18 +01:00
macro_scope.hpp Replace == with key_compare in ordered_map 2022-04-25 22:45:44 +02:00
macro_unscope.hpp Replace == with key_compare in ordered_map 2022-04-25 22:45:44 +02:00
string_concat.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
string_escape.hpp Re-template json_pointer on string type (#3415) 2022-04-12 14:18:16 +02:00
value_t.hpp 🚨 fix warnings 2021-01-10 13:39:36 +01:00