struct checked_compare
Defined at line 206 of file ../../third_party/abseil-cpp/absl/container/internal/btree.h
Inherit from checked_compare_base to support function pointers and also
keep empty-base-optimization (EBO) support for classes.
Note: we can't use CompressedTuple here because that would interfere
with the EBO for `btree::rightmost_`. `btree::rightmost_` is itself a
CompressedTuple and nested `CompressedTuple`s don't support EBO.
TODO(b/214288561): use CompressedTuple instead once it supports EBO for
nested `CompressedTuple`s.
Public Methods
void checked_compare (Compare comp)
Defined at line 227 of file ../../third_party/abseil-cpp/absl/container/internal/btree.h
Compare operator Compare ()
Allow converting to Compare for use in key_comp()/value_comp().
Defined at line 230 of file ../../third_party/abseil-cpp/absl/container/internal/btree.h
template <typename T, typename U, absl::enable_if_t<
std::is_same<bool, compare_result_t<Compare, T, U>>::value,
int> = 0>
bool operator() (const T & lhs, const U & rhs)
Defined at line 236 of file ../../third_party/abseil-cpp/absl/container/internal/btree.h
template <typename T, typename U, absl::enable_if_t<std::is_convertible<compare_result_t<Compare, T, U>,
absl::weak_ordering>::value,
int> = 0>
absl::weak_ordering operator() (const T & lhs, const U & rhs)
Defined at line 252 of file ../../third_party/abseil-cpp/absl/container/internal/btree.h