Functions
-
template <typename BoolT, std::enable_if_t<std::is_same_v<bool, BoolT>, int> = 0>bool compare_result_as_less_than (const BoolT r)Helper functions to do a boolean comparison of two keys given a boolean
or three-way comparator.
SFINAE prevents implicit conversions to bool (such as from int).
Defined at line 452 of file ../../third_party/abseil-cpp/src/absl/types/compare.h
-
bool compare_result_as_less_than (const absl::weak_ordering r)Defined at line 455 of file ../../third_party/abseil-cpp/src/absl/types/compare.h
-
template <typename Compare,typename K,typename LK>bool do_less_than_comparison (const Compare &compare,const K &x,const LK &y)Defined at line 460 of file ../../third_party/abseil-cpp/src/absl/types/compare.h
-
template <typename Int, std::enable_if_t<std::is_same_v<int, Int>, int> = 0>absl::weak_ordering compare_result_as_ordering (const Int c)Helper functions to do a three-way comparison of two keys given a boolean or
three-way comparator.
SFINAE prevents implicit conversions to int (such as from bool).
Defined at line 469 of file ../../third_party/abseil-cpp/src/absl/types/compare.h
-
absl::weak_ordering compare_result_as_ordering (const absl::weak_ordering c)Defined at line 474 of file ../../third_party/abseil-cpp/src/absl/types/compare.h
-
template <typename Compare,typename K,typename LK,std::enable_if_t< !std::is_same_v<bool, absl::result_of_t<Compare(const K&, const LK&)>>, int> = 0>absl::weak_ordering do_three_way_comparison (const Compare &compare,const K &x,const LK &y)Defined at line 484 of file ../../third_party/abseil-cpp/src/absl/types/compare.h
-
template <typename Comparetypename Ktypename LKstd::enable_if_t< std::is_same_v<bool, absl::result_of_t<Compare(const K&, const LK&)>>, int> = 0>absl::weak_ordering do_three_way_comparison (const Compare &compare,const K &x,const LK &y)Defined at line 493 of file ../../third_party/abseil-cpp/src/absl/types/compare.h