Lines Matching refs:_Pred
635 class _Pred,
659 template <class _Key, class _Cp, class _Hash, class _Pred>
660 class __unordered_map_hasher<_Key, _Cp, _Hash, _Pred, false> {
683 template <class _Key, class _Cp, class _Hash, class _Pred, bool __b>
685 swap(__unordered_map_hasher<_Key, _Cp, _Hash, _Pred, __b>& __x,
686 … __unordered_map_hasher<_Key, _Cp, _Hash, _Pred, __b>& __y) _NOEXCEPT_(_NOEXCEPT_(__x.swap(__y))) {
692 class _Pred,
694 bool = is_empty<_Pred>::value && !__libcpp_is_final<_Pred>::value>
695 class __unordered_map_equal : private _Pred {
697 …ABI __unordered_map_equal() _NOEXCEPT_(is_nothrow_default_constructible<_Pred>::value) : _Pred() {}
698 …BCPP_HIDE_FROM_ABI __unordered_map_equal(const _Pred& __p) _NOEXCEPT_(is_nothrow_copy_constructibl…
699 : _Pred(__p) {}
700 _LIBCPP_HIDE_FROM_ABI const _Pred& key_eq() const _NOEXCEPT { return *this; }
702 return static_cast<const _Pred&>(*this)(__x.__get_value().first, __y.__get_value().first);
705 return static_cast<const _Pred&>(*this)(__x.__get_value().first, __y);
708 return static_cast<const _Pred&>(*this)(__x, __y.__get_value().first);
713 return static_cast<const _Pred&>(*this)(__x.__get_value().first, __y);
717 return static_cast<const _Pred&>(*this)(__x, __y.__get_value().first);
721 return static_cast<const _Pred&>(*this)(__x, __y);
725 return static_cast<const _Pred&>(*this)(__x, __y);
728 …P_HIDE_FROM_ABI void swap(__unordered_map_equal& __y) _NOEXCEPT_(__is_nothrow_swappable_v<_Pred>) {
730 swap(static_cast<_Pred&>(*this), static_cast<_Pred&>(__y));
734 template <class _Key, class _Cp, class _Pred, class _Hash>
735 class __unordered_map_equal<_Key, _Cp, _Pred, _Hash, false> {
736 _Pred __pred_;
739 …_LIBCPP_HIDE_FROM_ABI __unordered_map_equal() _NOEXCEPT_(is_nothrow_default_constructible<_Pred>::…
741 …BCPP_HIDE_FROM_ABI __unordered_map_equal(const _Pred& __p) _NOEXCEPT_(is_nothrow_copy_constructibl…
743 _LIBCPP_HIDE_FROM_ABI const _Pred& key_eq() const _NOEXCEPT { return __pred_; }
771 …P_HIDE_FROM_ABI void swap(__unordered_map_equal& __y) _NOEXCEPT_(__is_nothrow_swappable_v<_Pred>) {
777 template <class _Key, class _Cp, class _Pred, class _Hash, bool __b>
779 swap(__unordered_map_equal<_Key, _Cp, _Pred, _Hash, __b>& __x, __unordered_map_equal<_Key, _Cp, _Pr…
1018 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1024 class _Pred = equal_to<_Key>,
1032 typedef __type_identity_t<_Pred> key_equal;
1177 …static_assert(sizeof(std::__diagnose_unordered_container_requirements<_Key, _Hash, _Pred>(0)), "");
1462 class _Pred = equal_to<__iter_key_type<_InputIterator>>,
1467 class = enable_if_t<!__is_allocator<_Pred>::value>,
1473 _Pred = _Pred(),
1475 …map<__iter_key_type<_InputIterator>, __iter_mapped_type<_InputIterator>, _Hash, _Pred, _Allocator>;
1480 class _Pred = equal_to<__range_key_type<_Range>>,
1484 class = enable_if_t<!__is_allocator<_Pred>::value>,
1490 _Pred = _Pred(),
1492 …-> unordered_map<__range_key_type<_Range>, __range_mapped_type<_Range>, _Hash, _Pred, _Allocator>;…
1498 class _Pred = equal_to<remove_const_t<_Key>>,
1502 class = enable_if_t<!__is_allocator<_Pred>::value>,
1507 _Pred = _Pred(),
1508 … _Allocator = _Allocator()) -> unordered_map<remove_const_t<_Key>, _Tp, _Hash, _Pred, _Allocator>;
1598 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1599 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(size_type __n, const hasher& __hf, co…
1604 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1605 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(
1611 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1612 inline unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(const allocator_type& __a)
1615 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1617 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(_InputIterator __first, _InputIterato…
1621 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1623 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(
1630 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1632 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(
1644 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1645 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(const unordered_map& __u) : __table_(…
1650 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1651 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(const unordered_map& __u, const alloc…
1659 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1660 inline unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(unordered_map&& __u)
1664 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1665 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(unordered_map&& __u, const allocator_…
1675 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1676 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(initializer_list<value_type> __il) {
1680 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1681 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(
1688 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1689 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(
1700 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1701 inline unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&
1702 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(unordered_map&& __u)
1708 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1709 inline unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&
1710 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(initializer_list<value_type> __il) {
1717 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1719 inline void unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _InputIt…
1726 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1727 _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k) {
1734 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1735 _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](key_type&& __k) {
1744 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1745 typename unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__node_holder
1746 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__construct_node_with_key(const key_type& __k) {
1756 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1757 _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k) {
1769 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1770 _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::at(const key_type& __k) {
1777 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1778 const _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::at(const key_type& __k) const {
1785 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1787 swap(unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, unordered_map<_Key, _Tp, _Hash, _Pred, _A…
1793 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc, class _Predicate>
1794 inline _LIBCPP_HIDE_FROM_ABI typename unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::size_type
1795 erase_if(unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __c, _Predicate __pred) {
1800 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1801 _LIBCPP_HIDE_FROM_ABI bool operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
1802 const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {
1805 typedef typename unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator const_iterator;
1816 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1817 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& …
1818 … const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {
1827 class _Pred = equal_to<_Key>,
1835 typedef __type_identity_t<_Pred> key_equal;
1976 …static_assert(sizeof(std::__diagnose_unordered_container_requirements<_Key, _Hash, _Pred>(0)), "");
2191 class _Pred = equal_to<__iter_key_type<_InputIterator>>,
2196 class = enable_if_t<!__is_allocator<_Pred>::value>,
2202 _Pred = _Pred(),
2207 _Pred,
2213 class _Pred = equal_to<__range_key_type<_Range>>,
2217 class = enable_if_t<!__is_allocator<_Pred>::value>,
2223 _Pred = _Pred(),
2225 …-> unordered_multimap<__range_key_type<_Range>, __range_mapped_type<_Range>, _Hash, _Pred, _Alloca…
2231 class _Pred = equal_to<remove_const_t<_Key>>,
2235 class = enable_if_t<!__is_allocator<_Pred>::value>,
2241 _Pred = _Pred(),
2242 …_Allocator = _Allocator()) -> unordered_multimap<remove_const_t<_Key>, _Tp, _Hash, _Pred, _Allocat…
2341 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2342 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2348 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2349 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2355 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2357 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(_InputIterator __first, _In…
2361 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2363 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2370 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2372 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2384 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2385 inline unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(const allocator_type…
2388 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2389 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(const unordered_multimap& _…
2395 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2396 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2405 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2406 inline unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(unordered_multimap&&…
2410 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2411 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2422 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2423 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(initializer_list<value_type…
2427 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2428 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2435 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2436 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2447 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2448 inline unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&
2449 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(unordered_multimap&& __u)
2455 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2456 inline unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&
2457 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(initializer_list<value_type> __il) {
2464 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2466 inline void unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _In…
2471 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2473 swap(unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, unordered_multimap<_Key, _Tp, _Hash,…
2479 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc, class _Predicate>
2480 inline _LIBCPP_HIDE_FROM_ABI typename unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::size_type
2481 erase_if(unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __c, _Predicate __pred) {
2486 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2487 _LIBCPP_HIDE_FROM_ABI bool operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __…
2488 … const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {
2491 …typedef typename unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator const_iterato…
2506 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2507 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _All…
2508 … const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {