|
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) |
|
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 absl::compare_internal::do_three_way_comparison |
( |
const Compare & |
compare, |
|
|
const K & |
x, |
|
|
const LK & |
y |
|
) |
| |