std::weak_ordering
Min standard notice:
Header: <compare>
The class type std::weak_ordering is the result type of a three-way comparison that:
# Declarations
class weak_ordering;
(since C++20)
# Parameters
v, w: std::weak_ordering values to checku: an unused parameter of any type that accepts literal zero argument
# Return value
std::partial_ordering::less if v is less, std::partial_ordering::greater if v is greater, std::partial_ordering::equivalent if v is equivalent.
# Example
This section is incompleteReason: no example