Lexicographical, with std's synth-three-way: elements that have only operator< give a std::weak_ordering.
Declared in <cptr/list.hpp>
auto
operator<=>(
basic_list const& a,
basic_list const& b)
requires kSynthComparable<T>;
This function is a hidden friend of basic_list, 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 |