std::is_eq, std::is_neq, std::is_lt, std::is_gt, std::is_lteq, std::is_gteq
Min standard notice:
Header: <compare>
These functions take a result of 3-way comparison and convert it to the result of one of the six relational operators
# Declarations
constexpr bool is_eq( std::partial_ordering cmp ) noexcept;
(since C++20)
constexpr bool is_neq( std::partial_ordering cmp ) noexcept;
(since C++20)
constexpr bool is_lt( std::partial_ordering cmp ) noexcept;
(since C++20)
constexpr bool is_lteq( std::partial_ordering cmp ) noexcept;
(since C++20)
constexpr bool is_gt( std::partial_ordering cmp ) noexcept;
(since C++20)
constexpr bool is_gteq( std::partial_ordering cmp ) noexcept;
(since C++20)
# Parameters
cmp: result of 3-way comparison
# Return value
bool result of the corresponding relational operation
# Example
This section is incompleteReason: no example