Lines Matching refs:_Compare
496 template <class _Key, class _CP, class _Compare,
497 bool = is_empty<_Compare>::value && !__libcpp_is_final<_Compare>::value>
499 : private _Compare
504 _NOEXCEPT_(is_nothrow_default_constructible<_Compare>::value)
505 : _Compare() {}
507 __map_value_compare(_Compare c)
508 _NOEXCEPT_(is_nothrow_copy_constructible<_Compare>::value)
509 : _Compare(c) {}
511 const _Compare& key_comp() const _NOEXCEPT {return *this;}
514 … {return static_cast<const _Compare&>(*this)(__x.__get_value().first, __y.__get_value().first);}
517 {return static_cast<const _Compare&>(*this)(__x.__get_value().first, __y);}
520 {return static_cast<const _Compare&>(*this)(__x, __y.__get_value().first);}
522 _NOEXCEPT_(__is_nothrow_swappable<_Compare>::value)
525 swap(static_cast<_Compare&>(*this), static_cast<_Compare&>(__y));
531 typename enable_if<__is_transparent<_Compare, _K2>::value, bool>::type
533 {return static_cast<const _Compare&>(*this) (__x, __y.__get_value().first);}
537 typename enable_if<__is_transparent<_Compare, _K2>::value, bool>::type
539 {return static_cast<const _Compare&>(*this) (__x.__get_value().first, __y);}
543 template <class _Key, class _CP, class _Compare>
544 class __map_value_compare<_Key, _CP, _Compare, false>
546 _Compare comp;
551 _NOEXCEPT_(is_nothrow_default_constructible<_Compare>::value)
554 __map_value_compare(_Compare c)
555 _NOEXCEPT_(is_nothrow_copy_constructible<_Compare>::value)
558 const _Compare& key_comp() const _NOEXCEPT {return comp;}
570 _NOEXCEPT_(__is_nothrow_swappable<_Compare>::value)
579 typename enable_if<__is_transparent<_Compare, _K2>::value, bool>::type
585 typename enable_if<__is_transparent<_Compare, _K2>::value, bool>::type
591 template <class _Key, class _CP, class _Compare, bool __b>
594 swap(__map_value_compare<_Key, _CP, _Compare, __b>& __x,
595 __map_value_compare<_Key, _CP, _Compare, __b>& __y)
649 template <class _Key, class _Tp, class _Compare, class _Allocator>
651 template <class _Key, class _Tp, class _Compare, class _Allocator>
897 template <class _Key, class _Tp, class _Compare = less<_Key>,
906 typedef _Compare key_compare;
911 static_assert(sizeof(__diagnose_non_const_comparator<_Key, _Compare>()), "");
1381 typename enable_if<__is_transparent<_Compare, _K2>::value,iterator>::type
1385 typename enable_if<__is_transparent<_Compare, _K2>::value,const_iterator>::type
1395 typename enable_if<__is_transparent<_Compare, _K2>::value,size_type>::type
1407 typename enable_if<__is_transparent<_Compare, _K2>::value,iterator>::type
1412 typename enable_if<__is_transparent<_Compare, _K2>::value,const_iterator>::type
1425 typename enable_if<__is_transparent<_Compare, _K2>::value,iterator>::type
1429 typename enable_if<__is_transparent<_Compare, _K2>::value,const_iterator>::type
1442 typename enable_if<__is_transparent<_Compare, _K2>::value,pair<iterator,iterator>>::type
1446 …typename enable_if<__is_transparent<_Compare, _K2>::value,pair<const_iterator,const_iterator>>::ty…
1467 template <class _Key, class _Tp, class _Compare, class _Allocator>
1468 map<_Key, _Tp, _Compare, _Allocator>::map(map&& __m, const allocator_type& __a)
1480 template <class _Key, class _Tp, class _Compare, class _Allocator>
1482 map<_Key, _Tp, _Compare, _Allocator>::operator[](const key_type& __k)
1490 template <class _Key, class _Tp, class _Compare, class _Allocator>
1492 map<_Key, _Tp, _Compare, _Allocator>::operator[](key_type&& __k)
1502 template <class _Key, class _Tp, class _Compare, class _Allocator>
1503 typename map<_Key, _Tp, _Compare, _Allocator>::__node_holder
1504 map<_Key, _Tp, _Compare, _Allocator>::__construct_node_with_key(const key_type& __k)
1515 template <class _Key, class _Tp, class _Compare, class _Allocator>
1517 map<_Key, _Tp, _Compare, _Allocator>::operator[](const key_type& __k)
1533 template <class _Key, class _Tp, class _Compare, class _Allocator>
1535 map<_Key, _Tp, _Compare, _Allocator>::at(const key_type& __k)
1546 template <class _Key, class _Tp, class _Compare, class _Allocator>
1548 map<_Key, _Tp, _Compare, _Allocator>::at(const key_type& __k) const
1560 template <class _Key, class _Tp, class _Compare, class _Allocator>
1563 operator==(const map<_Key, _Tp, _Compare, _Allocator>& __x,
1564 const map<_Key, _Tp, _Compare, _Allocator>& __y)
1569 template <class _Key, class _Tp, class _Compare, class _Allocator>
1572 operator< (const map<_Key, _Tp, _Compare, _Allocator>& __x,
1573 const map<_Key, _Tp, _Compare, _Allocator>& __y)
1578 template <class _Key, class _Tp, class _Compare, class _Allocator>
1581 operator!=(const map<_Key, _Tp, _Compare, _Allocator>& __x,
1582 const map<_Key, _Tp, _Compare, _Allocator>& __y)
1587 template <class _Key, class _Tp, class _Compare, class _Allocator>
1590 operator> (const map<_Key, _Tp, _Compare, _Allocator>& __x,
1591 const map<_Key, _Tp, _Compare, _Allocator>& __y)
1596 template <class _Key, class _Tp, class _Compare, class _Allocator>
1599 operator>=(const map<_Key, _Tp, _Compare, _Allocator>& __x,
1600 const map<_Key, _Tp, _Compare, _Allocator>& __y)
1605 template <class _Key, class _Tp, class _Compare, class _Allocator>
1608 operator<=(const map<_Key, _Tp, _Compare, _Allocator>& __x,
1609 const map<_Key, _Tp, _Compare, _Allocator>& __y)
1614 template <class _Key, class _Tp, class _Compare, class _Allocator>
1617 swap(map<_Key, _Tp, _Compare, _Allocator>& __x,
1618 map<_Key, _Tp, _Compare, _Allocator>& __y)
1625 template <class _Key, class _Tp, class _Compare, class _Allocator, class _Predicate>
1627 void erase_if(map<_Key, _Tp, _Compare, _Allocator>& __c, _Predicate __pred)
1632 template <class _Key, class _Tp, class _Compare = less<_Key>,
1641 typedef _Compare key_compare;
1646 static_assert(sizeof(__diagnose_non_const_comparator<_Key, _Compare>()), "");
2012 typename enable_if<__is_transparent<_Compare, _K2>::value,iterator>::type
2016 typename enable_if<__is_transparent<_Compare, _K2>::value,const_iterator>::type
2026 typename enable_if<__is_transparent<_Compare, _K2>::value,size_type>::type
2038 typename enable_if<__is_transparent<_Compare, _K2>::value,iterator>::type
2043 typename enable_if<__is_transparent<_Compare, _K2>::value,const_iterator>::type
2056 typename enable_if<__is_transparent<_Compare, _K2>::value,iterator>::type
2060 typename enable_if<__is_transparent<_Compare, _K2>::value,const_iterator>::type
2073 typename enable_if<__is_transparent<_Compare, _K2>::value,pair<iterator,iterator>>::type
2077 …typename enable_if<__is_transparent<_Compare, _K2>::value,pair<const_iterator,const_iterator>>::ty…
2091 template <class _Key, class _Tp, class _Compare, class _Allocator>
2092 multimap<_Key, _Tp, _Compare, _Allocator>::multimap(multimap&& __m, const allocator_type& __a)
2105 template <class _Key, class _Tp, class _Compare, class _Allocator>
2108 operator==(const multimap<_Key, _Tp, _Compare, _Allocator>& __x,
2109 const multimap<_Key, _Tp, _Compare, _Allocator>& __y)
2114 template <class _Key, class _Tp, class _Compare, class _Allocator>
2117 operator< (const multimap<_Key, _Tp, _Compare, _Allocator>& __x,
2118 const multimap<_Key, _Tp, _Compare, _Allocator>& __y)
2123 template <class _Key, class _Tp, class _Compare, class _Allocator>
2126 operator!=(const multimap<_Key, _Tp, _Compare, _Allocator>& __x,
2127 const multimap<_Key, _Tp, _Compare, _Allocator>& __y)
2132 template <class _Key, class _Tp, class _Compare, class _Allocator>
2135 operator> (const multimap<_Key, _Tp, _Compare, _Allocator>& __x,
2136 const multimap<_Key, _Tp, _Compare, _Allocator>& __y)
2141 template <class _Key, class _Tp, class _Compare, class _Allocator>
2144 operator>=(const multimap<_Key, _Tp, _Compare, _Allocator>& __x,
2145 const multimap<_Key, _Tp, _Compare, _Allocator>& __y)
2150 template <class _Key, class _Tp, class _Compare, class _Allocator>
2153 operator<=(const multimap<_Key, _Tp, _Compare, _Allocator>& __x,
2154 const multimap<_Key, _Tp, _Compare, _Allocator>& __y)
2159 template <class _Key, class _Tp, class _Compare, class _Allocator>
2162 swap(multimap<_Key, _Tp, _Compare, _Allocator>& __x,
2163 multimap<_Key, _Tp, _Compare, _Allocator>& __y)
2170 template <class _Key, class _Tp, class _Compare, class _Allocator, class _Predicate>
2172 void erase_if(multimap<_Key, _Tp, _Compare, _Allocator>& __c, _Predicate __pred)