Lines Matching refs:_Pred
248 template <class _Tp, class _Pred, bool = std::is_empty<_Pred>::value && !std::__libcpp_is_final<_Pr…
249 class __hash_map_equal : private _Pred {
251 _LIBCPP_HIDE_FROM_ABI __hash_map_equal() : _Pred() {}
252 _LIBCPP_HIDE_FROM_ABI __hash_map_equal(const _Pred& __p) : _Pred(__p) {}
253 _LIBCPP_HIDE_FROM_ABI const _Pred& key_eq() const { return *this; }
255 return static_cast<const _Pred&>(*this)(__x.first, __y.first);
258 return static_cast<const _Pred&>(*this)(__x, __y.first);
261 return static_cast<const _Pred&>(*this)(__x.first, __y);
265 return static_cast<const _Pred&>(*this)(__x, __y);
269 template <class _Tp, class _Pred>
270 class __hash_map_equal<_Tp, _Pred, false> {
271 _Pred __pred_;
275 _LIBCPP_HIDE_FROM_ABI __hash_map_equal(const _Pred& __p) : __pred_(__p) {}
276 _LIBCPP_HIDE_FROM_ABI const _Pred& key_eq() const { return __pred_; }
442 class _Pred = std::equal_to<_Key>,
451 typedef _Pred key_equal;
561 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
562 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(size_type __n, const hasher& __hf, const key_eq…
567 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
568 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
574 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
576 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(_InputIterator __first, _InputIterator __last) {
580 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
582 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
589 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
591 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(
603 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
604 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_map(const hash_map& __u) : __table_(__u.__table_) {
609 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
610 typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__node_holder
611 hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::__construct_node(const key_type& __k) {
621 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
623 inline void hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _InputIterato…
628 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
629 _Tp& hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::operator[](const key_type& __k) {
639 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
641 swap(hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __y…
645 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
647 operator==(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, const hash_map<_Key, _Tp, _Hash, _…
650 typedef typename hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator const_iterator;
659 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
661 operator!=(const hash_map<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, const hash_map<_Key, _Tp, _Hash, _…
668 class _Pred = std::equal_to<_Key>,
677 typedef _Pred key_equal;
779 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
780 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(size_type __n, const hasher& __hf, co…
785 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
786 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
792 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
794 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(_InputIterator __first, _InputIterato…
798 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
800 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
807 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
809 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(
821 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
822 hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::hash_multimap(const hash_multimap& __u) : __table_(…
827 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
829 inline void hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::insert(_InputIterator __first, _InputIt…
834 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
836 swap(hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x, hash_multimap<_Key, _Tp, _Hash, _Pred, _A…
840 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
841 _LIBCPP_HIDE_FROM_ABI bool operator==(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __x,
842 const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {
845 typedef typename hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>::const_iterator const_iterator;
858 template <class _Key, class _Tp, class _Hash, class _Pred, class _Alloc>
859 inline _LIBCPP_HIDE_FROM_ABI bool operator!=(const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& …
860 … const hash_multimap<_Key, _Tp, _Hash, _Pred, _Alloc>& __y) {