std::weak_ordering

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

# 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

# See also