Classes |
struct | Fail |
struct | OnlyLiteralZero |
struct | partial_ordering_base |
struct | strong_equality_base |
struct | strong_ordering_base |
struct | weak_equality_base |
struct | weak_ordering_base |
Enumerations |
enum | eq { equal = 0,
equivalent = equal,
nonequal = 1,
nonequivalent = nonequal
} |
enum | ncmp { unordered = -127
} |
enum | ord { less = -1,
greater = 1
} |
Functions |
template<typename Bool , absl::enable_if_t< std::is_same< bool, Bool >::value, int > = 0> |
constexpr bool | compare_result_as_less_than (const Bool r) |
constexpr bool | compare_result_as_less_than (const absl::weak_ordering r) |
template<typename Int , absl::enable_if_t< std::is_same< int, Int >::value, int > = 0> |
constexpr absl::weak_ordering | compare_result_as_ordering (const Int c) |
constexpr absl::weak_ordering | compare_result_as_ordering (const absl::weak_ordering c) |
template<typename Compare , typename K , typename LK > |
constexpr bool | do_less_than_comparison (const Compare &compare, const K &x, const LK &y) |
template<typename Compare , typename K , typename LK , absl::enable_if_t<!std::is_same< bool, absl::result_of_t< Compare(const K &, const LK &)>>::value, int > = 0> |
constexpr absl::weak_ordering | do_three_way_comparison (const Compare &compare, const K &x, const LK &y) |