Searched refs:__comp_ (Results 1 – 4 of 4) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/libcxx/include/__algorithm/ |
| H A D | three_way_comp_ref_type.h | 27 _Comp& __comp_; member 28 _LIBCPP_HIDE_FROM_ABI constexpr __debug_three_way_comp(_Comp& __c) : __comp_(__c) {} in __debug_three_way_comp() 32 auto __r = __comp_(__x, __y); in operator() 33 if constexpr (__comparison_category<decltype(__comp_(__x, __y))>) in operator() 40 auto __r = __comp_(__x, __y); in operator() 41 if constexpr (__comparison_category<decltype(__comp_(__x, __y))>) in operator() 54 __comp_(__l, __r) == __expected, "Comparator does not induce a strict weak ordering"); in __do_compare_assert()
|
| H A D | comp_ref_type.h | 24 _Compare& __comp_; member 25 _LIBCPP_CONSTEXPR_SINCE_CXX14 _LIBCPP_HIDE_FROM_ABI __debug_less(_Compare& __c) : __comp_(__c) {} in __debug_less() 29 bool __r = __comp_(__x, __y); in operator() 37 bool __r = __comp_(__x, __y); in operator() 47 …_LIBCPP_ASSERT_SEMANTIC_REQUIREMENT(!__comp_(__l, __r), "Comparator does not induce a strict weak … in __do_compare_assert()
|
| H A D | minmax_element.h | 28 _Comp& __comp_; variable 33 : __comp_(__comp), __proj_(__proj) {} in _MinmaxElementLessFunc() 37 return std::__invoke(__comp_, std::__invoke(__proj_, *__it1), std::__invoke(__proj_, *__it2)); in operator()
|
| /freebsd-14.2/contrib/llvm-project/libcxx/include/ |
| H A D | map | 665 _Compare __comp_; 669 : __comp_() {} 671 : __comp_(__c) {} 672 _LIBCPP_HIDE_FROM_ABI const _Compare& key_comp() const _NOEXCEPT { return __comp_; } 675 return __comp_(__x.__get_value().first, __y.__get_value().first); 678 return __comp_(__x.__get_value().first, __y); 681 return __comp_(__x, __y.__get_value().first); 685 swap(__comp_, __y.__comp_); 691 return __comp_(__x, __y.__get_value().first); 696 return __comp_(__x.__get_value().first, __y);
|