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
2022-07-04 19:58:19 +02:00
committed by GitHub
parent 954b10ad3b
commit 7d361ec8ef
5 changed files with 741 additions and 495 deletions

File diff suppressed because it is too large Load Diff