std::weak_order

Header: <compare>

Compares two values using 3-way comparison and produces a result of type std::weak_ordering.

# Declarations

inline namespace /* unspecified */ {
inline constexpr /* unspecified */ weak_order = /* unspecified */;
}

(since C++20)

Call signature
template< class T, class U >
requires /* see below */
constexpr std::weak_ordering weak_order(T&& t, U&& u) noexcept(/* see below */);

# Example

This section is incompleteReason: no example

# See also