Add overloads for more key types to ordered_map and fix ordered_map::erase(first, last) with first == last (#3564)

* Add overloads for more key types to ordered_map

Add overloads to accept additional key types defined by type trait
detail::is_usable_as_key_type to ordered_map.
The same key types that can be used with json can now also be used with
ordered_json.

* Fix ordered_map::erase(first, last) with first == last

* Modify element access unit test to also test ordered_json
This commit is contained in:
Florian Albrechtskirchinger authored and GitHub committed 2022-07-04 19:58:19 +02:00
1 parent 954b10ad3b
commit 7d361ec8ef
5 files changed
+741 -495

No files matched your search

File diff suppressed because it is too large. Load diff