Searched refs:__comp_ (Results 1 – 4 of 4) sorted by relevance
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/ |
H A D | three_way_comp_ref_type.h | 28 _Comp& __comp_; member 29 _LIBCPP_HIDE_FROM_ABI constexpr __debug_three_way_comp(_Comp& __c) : __comp_(__c) {} in __debug_three_way_comp() 33 auto __r = __comp_(__x, __y); in operator() 34 if constexpr (__comparison_category<decltype(__comp_(__x, __y))>) in operator() 41 auto __r = __comp_(__x, __y); in operator() 42 if constexpr (__comparison_category<decltype(__comp_(__x, __y))>) in operator() 55 __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/contrib/llvm-project/libcxx/include/ |
H A D | map | 664 _Compare __comp_; 668 : __comp_() {} 670 : __comp_(__c) {} 671 _LIBCPP_HIDE_FROM_ABI const _Compare& key_comp() const _NOEXCEPT { return __comp_; } 674 return __comp_(__x.__get_value().first, __y.__get_value().first); 677 return __comp_(__x.__get_value().first, __y); 680 return __comp_(__x, __y.__get_value().first); 684 swap(__comp_, __y.__comp_); 690 return __comp_(__x, __y.__get_value().first); 695 return __comp_(__x.__get_value().first, __y);
|