Lines Matching refs:_Pred
636 class _Pred,
660 template <class _Key, class _Cp, class _Hash, class _Pred>
661 class __unordered_map_hasher<_Key, _Cp, _Hash, _Pred, false> {
684 template <class _Key, class _Cp, class _Hash, class _Pred, bool __b>
686 swap(__unordered_map_hasher<_Key, _Cp, _Hash, _Pred, __b>& __x,
687 … __unordered_map_hasher<_Key, _Cp, _Hash, _Pred, __b>& __y) _NOEXCEPT_(_NOEXCEPT_(__x.swap(__y))) {
693 class _Pred,
695 bool = is_empty<_Pred>::value && !__libcpp_is_final<_Pred>::value>
696 class __unordered_map_equal : private _Pred {
698 …ABI __unordered_map_equal() _NOEXCEPT_(is_nothrow_default_constructible<_Pred>::value) : _Pred() {}
699 …BCPP_HIDE_FROM_ABI __unordered_map_equal(const _Pred& __p) _NOEXCEPT_(is_nothrow_copy_constructibl…
700 : _Pred(__p) {}
701 _LIBCPP_HIDE_FROM_ABI const _Pred& key_eq() const _NOEXCEPT { return *this; }
703 return static_cast<const _Pred&>(*this)(__x.__get_value().first, __y.__get_value().first);
706 return static_cast<const _Pred&>(*this)(__x.__get_value().first, __y);
709 return static_cast<const _Pred&>(*this)(__x, __y.__get_value().first);
714 return static_cast<const _Pred&>(*this)(__x.__get_value().first, __y);
718 return static_cast<const _Pred&>(*this)(__x, __y.__get_value().first);
722 return static_cast<const _Pred&>(*this)(__x, __y);
726 return static_cast<const _Pred&>(*this)(__x, __y);
729 …E_FROM_ABI void swap(__unordered_map_equal& __y) _NOEXCEPT_(__is_nothrow_swappable<_Pred>::value) {
731 swap(static_cast<_Pred&>(*this), static_cast<_Pred&>(__y));
735 template <class _Key, class _Cp, class _Pred, class _Hash>
736 class __unordered_map_equal<_Key, _Cp, _Pred, _Hash, false> {
737 _Pred __pred_;
740 …_LIBCPP_HIDE_FROM_ABI __unordered_map_equal() _NOEXCEPT_(is_nothrow_default_constructible<_Pred>::…
742 …BCPP_HIDE_FROM_ABI __unordered_map_equal(const _Pred& __p) _NOEXCEPT_(is_nothrow_copy_constructibl…
744 _LIBCPP_HIDE_FROM_ABI const _Pred& key_eq() const _NOEXCEPT { return __pred_; }
772 …E_FROM_ABI void swap(__unordered_map_equal& __y) _NOEXCEPT_(__is_nothrow_swappable<_Pred>::value) {
778 template <class _Key, class _Cp, class _Pred, class _Hash, bool __b>
780 swap(__unordered_map_equal<_Key, _Cp, _Pred, _Hash, __b>& __x, __unordered_map_equal<_Key, _Cp, _Pr…
1021 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1027 class _Pred = equal_to<_Key>,
1035 typedef __type_identity_t<_Pred> key_equal;
1182 …static_assert(sizeof(std::__diagnose_unordered_container_requirements<_Key, _Hash, _Pred>(0)), "");
1473 class _Pred = equal_to<__iter_key_type<_InputIterator>>,
1478 class = enable_if_t<!__is_allocator<_Pred>::value>,
1484 _Pred = _Pred(),
1486 …map<__iter_key_type<_InputIterator>, __iter_mapped_type<_InputIterator>, _Hash, _Pred, _Allocator>;
1491 class _Pred = equal_to<__range_key_type<_Range>>,
1495 class = enable_if_t<!__is_allocator<_Pred>::value>,
1501 _Pred = _Pred(),
1503 …-> unordered_map<__range_key_type<_Range>, __range_mapped_type<_Range>, _Hash, _Pred, _Allocator>;…
1509 class _Pred = equal_to<remove_const_t<_Key>>,
1513 class = enable_if_t<!__is_allocator<_Pred>::value>,
1518 _Pred = _Pred(),
1519 … _Allocator = _Allocator()) -> unordered_map<remove_const_t<_Key>, _Tp, _Hash, _Pred, _Allocator>;
1609 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1610 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(size_type __n, const hasher& __hf, co…
1615 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1616 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(
1622 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1623 inline unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(const allocator_type& __a)
1626 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1628 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(_InputIterator __first, _InputIterato…
1632 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1634 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(
1641 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1643 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(
1655 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1656 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(const unordered_map& __u) : __table_(…
1661 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1662 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(const unordered_map& __u, const alloc…
1670 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1671 inline unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(unordered_map&& __u)
1675 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1676 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(unordered_map&& __u, const allocator_…
1686 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1687 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(initializer_list<value_type> __il) {
1691 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1692 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(
1699 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1700 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_map(
1711 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1712 inline unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&
1713 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(unordered_map&& __u)
1719 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1720 inline unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>&
1721 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(initializer_list<value_type> __il) {
1728 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1730 inline void unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _InputIt…
1737 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1738 _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k) {
1745 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1746 _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](key_type&& __k) {
1755 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1756 typename unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__node_holder
1757 unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__construct_node_with_key(const key_type& __k) {
1767 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1768 _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k) {
1780 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1781 _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::at(const key_type& __k) {
1788 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1789 const _Tp& unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::at(const key_type& __k) const {
1796 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1798 swap(unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, unordered_map<_Key, _Tp, _Hash, _Pred, _A…
1804 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc, class _Predicate>
1805 inline _LIBCPP_HIDE_FROM_ABI typename unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::size_type
1806 erase_if(unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __c, _Predicate __pred) {
1811 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1812 _LIBCPP_HIDE_FROM_ABI bool operator==(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
1813 const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {
1816 typedef typename unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator const_iterator;
1827 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
1828 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& …
1829 … const unordered_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {
1838 class _Pred = equal_to<_Key>,
1846 typedef __type_identity_t<_Pred> key_equal;
1990 …static_assert(sizeof(std::__diagnose_unordered_container_requirements<_Key, _Hash, _Pred>(0)), "");
2211 class _Pred = equal_to<__iter_key_type<_InputIterator>>,
2216 class = enable_if_t<!__is_allocator<_Pred>::value>,
2222 _Pred = _Pred(),
2227 _Pred,
2233 class _Pred = equal_to<__range_key_type<_Range>>,
2237 class = enable_if_t<!__is_allocator<_Pred>::value>,
2243 _Pred = _Pred(),
2245 …-> unordered_multimap<__range_key_type<_Range>, __range_mapped_type<_Range>, _Hash, _Pred, _Alloca…
2251 class _Pred = equal_to<remove_const_t<_Key>>,
2255 class = enable_if_t<!__is_allocator<_Pred>::value>,
2260 _Pred = _Pred(),
2262 -> unordered_multimap<remove_const_t<_Key>, _Tp, _Hash, _Pred, _Allocator>;
2361 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2362 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2368 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2369 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2375 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2377 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(_InputIterator __first, _In…
2381 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2383 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2390 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2392 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2404 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2405 inline unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(const allocator_type…
2408 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2409 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(const unordered_multimap& _…
2415 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2416 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2425 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2426 inline unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(unordered_multimap&&…
2430 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2431 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2442 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2443 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(initializer_list<value_type…
2447 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2448 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2455 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2456 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::unordered_multimap(
2467 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2468 inline unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&
2469 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(unordered_multimap&& __u)
2475 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2476 inline unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>&
2477 unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::operator=(initializer_list<value_type> __il) {
2484 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2486 inline void unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _In…
2491 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2493 swap(unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, unordered_multimap<_Key, _Tp, _Hash,…
2499 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc, class _Predicate>
2500 inline _LIBCPP_HIDE_FROM_ABI typename unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::size_type
2501 erase_if(unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __c, _Predicate __pred) {
2506 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2507 _LIBCPP_HIDE_FROM_ABI bool operator==(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __…
2508 … const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {
2511 …typedef typename unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator const_iterato…
2526 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
2527 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const unordered_multimap<_Key, _Tp, _Hash, _Pred, _All…
2528 … const unordered_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {