Lexicographical over the (key, value) pairs, with std's synth-three-way: types that have only operator< give a std::weak_ordering.
Declared in <cptr/ordered_map.hpp>
auto
operator<=>(
basic_ordered_map const& a,
basic_ordered_map const& b)
requires kSynthComparable<value_type>;
This function is a hidden friend of basic_ordered_map, declared only inside that class: it can be found only through argument-dependent lookup.
The relative order of the objects
| Name | Description |
|---|---|
| a | The left operand |
| b | The right operand |