Lines Matching refs:_Pred
249 template <class _Tp, class _Pred, bool = std::is_empty<_Pred>::value && !std::__libcpp_is_final<_Pr…
250 class __hash_map_equal : private _Pred {
252 _LIBCPP_HIDE_FROM_ABI __hash_map_equal() : _Pred() {}
253 _LIBCPP_HIDE_FROM_ABI __hash_map_equal(const _Pred& __p) : _Pred(__p) {}
254 _LIBCPP_HIDE_FROM_ABI const _Pred& key_eq() const { return *this; }
256 return static_cast<const _Pred&>(*this)(__x.first, __y.first);
259 return static_cast<const _Pred&>(*this)(__x, __y.first);
262 return static_cast<const _Pred&>(*this)(__x.first, __y);
266 return static_cast<const _Pred&>(*this)(__x, __y);
270 template <class _Tp, class _Pred>
271 class __hash_map_equal<_Tp, _Pred, false> {
272 _Pred __pred_;
276 _LIBCPP_HIDE_FROM_ABI __hash_map_equal(const _Pred& __p) : __pred_(__p) {}
277 _LIBCPP_HIDE_FROM_ABI const _Pred& key_eq() const { return __pred_; }
443 class _Pred = std::equal_to<_Key>,
452 typedef _Pred key_equal;
562 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
563 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(size_type __n, const hasher& __hf, const key_eq…
568 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
569 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
575 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
577 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(_InputIterator __first, _InputIterator __last) {
581 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
583 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
590 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
592 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
604 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
605 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(const hash_map& __u) : __table_(__u.__table_) {
610 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
611 typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__node_holder
612 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__construct_node(const key_type& __k) {
622 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
624 inline void hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _InputIterato…
629 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
630 _Tp& hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k) {
640 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
642 swap(hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y…
646 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
648 operator==(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, const hash_map<_Key, _Tp, _Hash, _…
651 typedef typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator const_iterator;
660 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
662 operator!=(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, const hash_map<_Key, _Tp, _Hash, _…
669 class _Pred = std::equal_to<_Key>,
678 typedef _Pred key_equal;
780 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
781 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(size_type __n, const hasher& __hf, co…
786 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
787 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
793 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
795 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(_InputIterator __first, _InputIterato…
799 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
801 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
808 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
810 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
822 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
823 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(const hash_multimap& __u) : __table_(…
828 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
830 inline void hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _InputIt…
835 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
837 swap(hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, hash_multimap<_Key, _Tp, _Hash, _Pred, _A…
841 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
842 _LIBCPP_HIDE_FROM_ABI bool operator==(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
843 const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {
846 typedef typename hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator const_iterator;
859 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
860 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& …
861 … const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {