| /openbsd-src/gnu/lib/libstdc++/libstdc++/include/bits/ |
| H A D | stl_set.h | 71 template <class _Key, class _Compare = less<_Key>, 72 class _Alloc = allocator<_Key> > 75 template <class _Key, class _Compare, class _Alloc> 76 inline bool operator==(const set<_Key,_Compare,_Alloc>& __x, 77 const set<_Key,_Compare,_Alloc>& __y); 79 template <class _Key, class _Compare, class _Alloc> 80 inline bool operator<(const set<_Key,_Compare,_Alloc>& __x, 81 const set<_Key,_Compare,_Alloc>& __y); 84 template <class _Key, class _Compare, class _Alloc> 88 __glibcpp_class_requires(_Key, _SGIAssignableConcept) [all …]
|
| H A D | stl_multiset.h | 71 template <class _Key, class _Compare = less<_Key>, 72 class _Alloc = allocator<_Key> > 75 template <class _Key, class _Compare, class _Alloc> 76 inline bool operator==(const multiset<_Key,_Compare,_Alloc>& __x, 77 const multiset<_Key,_Compare,_Alloc>& __y); 79 template <class _Key, class _Compare, class _Alloc> 80 inline bool operator<(const multiset<_Key,_Compare,_Alloc>& __x, 81 const multiset<_Key,_Compare,_Alloc>& __y); 83 template <class _Key, class _Compare, class _Alloc> 87 __glibcpp_class_requires(_Key, _SGIAssignableConcept) [all …]
|
| H A D | stl_multimap.h | 70 template <typename _Key, typename _Tp, 71 typename _Compare = less<_Key>, 72 typename _Alloc = allocator<pair<const _Key, _Tp> > > 75 template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> 76 inline bool operator==(const multimap<_Key,_Tp,_Compare,_Alloc>& __x, 77 const multimap<_Key,_Tp,_Compare,_Alloc>& __y); 79 template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> 80 inline bool operator<(const multimap<_Key,_Tp,_Compare,_Alloc>& __x, 81 const multimap<_Key,_Tp,_Compare,_Alloc>& __y); 104 template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> [all …]
|
| H A D | stl_tree.h | 584 template<typename _Key, typename _Val, typename _KeyOfValue, 595 typedef _Key key_type; 668 static const _Key& 686 static const _Key& 732 _Rb_tree(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x) in _Rb_tree() argument 750 _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& 751 operator=(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x); 802 swap(_Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __t) in swap() argument 888 template<typename _Key, typename _Val, typename _KeyOfValue, 891 operator==(const _Rb_tree<_Key,_Val,_KeyOfValue,_Compare,_Alloc>& __x, [all …]
|
| H A D | stl_map.h | 89 template <typename _Key, typename _Tp, typename _Compare = less<_Key>, 90 typename _Alloc = allocator<pair<const _Key, _Tp> > > 95 __glibcpp_class_requires4(_Compare, bool, _Key, _Key, _BinaryFunctionConcept) 98 typedef _Key key_type; 100 typedef pair<const _Key, _Tp> value_type; 106 friend class map<_Key,_Tp,_Compare,_Alloc>; 603 template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> 605 operator==(const map<_Key,_Tp,_Compare,_Alloc>& __x, 606 const map<_Key,_Tp,_Compare,_Alloc>& __y) 620 template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> [all …]
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/bits/ |
| H A D | stl_multiset.h | 88 template <class _Key, class _Compare = std::less<_Key>, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 89 class _Alloc = std::allocator<_Key> > in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 94 __glibcxx_class_requires(_Key, _SGIAssignableConcept) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 95 __glibcxx_class_requires4(_Compare, bool, _Key, _Key, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 97 __glibcxx_class_requires2(_Key, _Alloc_value_type, _SameTypeConcept) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 101 typedef _Key key_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 102 typedef _Key value_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 109 typedef typename _Alloc::template rebind<_Key>::other _Key_alloc_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 183 multiset(const multiset<_Key,_Compare,_Alloc>& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 193 multiset<_Key,_Compare,_Alloc>& in _GLIBCXX_BEGIN_NESTED_NAMESPACE() [all …]
|
| H A D | stl_set.h | 91 template<class _Key, class _Compare = std::less<_Key>, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 92 class _Alloc = std::allocator<_Key> > in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 97 __glibcxx_class_requires(_Key, _SGIAssignableConcept) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 98 __glibcxx_class_requires4(_Compare, bool, _Key, _Key, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 100 __glibcxx_class_requires2(_Key, _Alloc_value_type, _SameTypeConcept) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 106 typedef _Key key_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 107 typedef _Key value_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 114 typedef typename _Alloc::template rebind<_Key>::other _Key_alloc_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 193 set(const set<_Key,_Compare,_Alloc>& __x) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 203 set<_Key,_Compare,_Alloc>& in _GLIBCXX_BEGIN_NESTED_NAMESPACE() [all …]
|
| H A D | stl_tree.h | 327 template<typename _Key, typename _Val, typename _KeyOfValue, 340 typedef _Key key_type; 496 static const _Key& 520 static const _Key& 579 _Rb_tree(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x) 594 _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& 595 operator=(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x); 656 swap(_Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __t); 751 template<typename _Key, typename _Val, typename _KeyOfValue, 754 operator==(const _Rb_tree<_Key, _Val, _KeyOfValue, _Compare, _Alloc>& __x, [all …]
|
| H A D | stl_multimap.h | 89 template <typename _Key, typename _Tp, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 90 typename _Compare = std::less<_Key>, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 91 typename _Alloc = std::allocator<std::pair<const _Key, _Tp> > > in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 95 typedef _Key key_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 97 typedef std::pair<const _Key, _Tp> value_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 105 __glibcxx_class_requires4(_Compare, bool, _Key, _Key, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 113 friend class multimap<_Key, _Tp, _Compare, _Alloc>; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 610 template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> 612 operator==(const multimap<_Key, _Tp, _Compare, _Alloc>& __x, 613 const multimap<_Key, _Tp, _Compare, _Alloc>& __y) [all …]
|
| H A D | stl_map.h | 91 template <typename _Key, typename _Tp, typename _Compare = std::less<_Key>, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 92 typename _Alloc = std::allocator<std::pair<const _Key, _Tp> > > in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 96 typedef _Key key_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 98 typedef std::pair<const _Key, _Tp> value_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 106 __glibcxx_class_requires4(_Compare, bool, _Key, _Key, in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 114 friend class map<_Key, _Tp, _Compare, _Alloc>; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 680 template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> 682 operator==(const map<_Key, _Tp, _Compare, _Alloc>& __x, 683 const map<_Key, _Tp, _Compare, _Alloc>& __y) 697 template <typename _Key, typename _Tp, typename _Compare, typename _Alloc> [all …]
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/debug/ |
| H A D | set.h | 46 template<typename _Key, typename _Compare = std::less<_Key>, 47 typename _Allocator = std::allocator<_Key> > 49 : public _GLIBCXX_STD::set<_Key,_Compare,_Allocator>, 50 public __gnu_debug::_Safe_sequence<set<_Key, _Compare, _Allocator> > 52 typedef _GLIBCXX_STD::set<_Key,_Compare,_Allocator> _Base; 57 typedef _Key key_type; 58 typedef _Key value_type; 89 set(const set<_Key,_Compare,_Allocator>& __x) in set() argument 96 set<_Key,_Compare,_Allocator>& 97 operator=(const set<_Key,_Compare,_Allocator>& __x) [all …]
|
| H A D | multiset.h | 46 template<typename _Key, typename _Compare = std::less<_Key>, 47 typename _Allocator = std::allocator<_Key> > 49 : public _GLIBCXX_STD::multiset<_Key, _Compare, _Allocator>, 50 public __gnu_debug::_Safe_sequence<multiset<_Key, _Compare, _Allocator> > 52 typedef _GLIBCXX_STD::multiset<_Key, _Compare, _Allocator> _Base; 57 typedef _Key key_type; 58 typedef _Key value_type; 89 multiset(const multiset<_Key,_Compare,_Allocator>& __x) in multiset() argument 96 multiset<_Key,_Compare,_Allocator>& 97 operator=(const multiset<_Key,_Compare,_Allocator>& __x) [all …]
|
| H A D | multimap.h | 46 template<typename _Key, typename _Tp, typename _Compare = std::less<_Key>, 47 typename _Allocator = std::allocator<std::pair<const _Key, _Tp> > > 49 : public _GLIBCXX_STD::multimap<_Key, _Tp, _Compare, _Allocator>, 50 public __gnu_debug::_Safe_sequence<multimap<_Key,_Tp,_Compare,_Allocator> > 52 typedef _GLIBCXX_STD::multimap<_Key, _Tp, _Compare, _Allocator> _Base; 57 typedef _Key key_type; 59 typedef std::pair<const _Key, _Tp> value_type; 91 multimap(const multimap<_Key,_Tp,_Compare,_Allocator>& __x) in multimap() argument 98 multimap<_Key,_Tp,_Compare,_Allocator>& 99 operator=(const multimap<_Key,_Tp,_Compare,_Allocator>& __x) [all …]
|
| H A D | map.h | 46 template<typename _Key, typename _Tp, typename _Compare = std::less<_Key>, 47 typename _Allocator = std::allocator<std::pair<const _Key, _Tp> > > 49 : public _GLIBCXX_STD::map<_Key, _Tp, _Compare, _Allocator>, 50 public __gnu_debug::_Safe_sequence<map<_Key, _Tp, _Compare, _Allocator> > 52 typedef _GLIBCXX_STD::map<_Key, _Tp, _Compare, _Allocator> _Base; 57 typedef _Key key_type; 59 typedef std::pair<const _Key, _Tp> value_type; 91 map(const map<_Key,_Tp,_Compare,_Allocator>& __x) in map() argument 98 map<_Key,_Tp,_Compare,_Allocator>& 99 operator=(const map<_Key,_Tp,_Compare,_Allocator>& __x) [all …]
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/tr1/ |
| H A D | unordered_map | 46 template<class _Key, class _Tp, 47 class _Hash = hash<_Key>, 48 class _Pred = std::equal_to<_Key>, 49 class _Alloc = std::allocator<std::pair<const _Key, _Tp> >, 52 : public _Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, 53 std::_Select1st<std::pair<const _Key, _Tp> >, _Pred, 59 typedef _Hashtable<_Key, std::pair<const _Key, _Tp>, _Alloc, 60 std::_Select1st<std::pair<const _Key, _Tp> >, _Pred, 80 __eql, std::_Select1st<std::pair<const _Key, _Tp> >(), __a) 91 __eql, std::_Select1st<std::pair<const _Key, _Tp> >(), __a) [all …]
|
| H A D | hashtable | 73 // _Key and _Value: arbitrary CopyConstructible types. 80 // and returns a value of type _Key. 95 // whose argument types are _Key and size_t and whose result type is 126 template<typename _Key, typename _Value, typename _Allocator, 135 _Hashtable<_Key, _Value, _Allocator, 142 public __detail::_Hash_code_base<_Key, _Value, _ExtractKey, _Equal, 144 public __detail::_Map_base<_Key, _Value, _ExtractKey, __unique_keys, 145 _Hashtable<_Key, _Value, _Allocator, 156 typedef _Key key_type; 440 template<typename _Key, typename _Value, [all …]
|
| H A D | hashtable_policy.h | 615 template<typename _Key, typename _Value, typename _Ex, bool __unique, in _GLIBCXX_BEGIN_NAMESPACE() 619 template<typename _Key, typename _Pair, typename _Hashtable> in _GLIBCXX_BEGIN_NAMESPACE() 620 struct _Map_base<_Key, _Pair, std::_Select1st<_Pair>, false, _Hashtable> in _GLIBCXX_BEGIN_NAMESPACE() 625 template<typename _Key, typename _Pair, typename _Hashtable> in _GLIBCXX_BEGIN_NAMESPACE() 626 struct _Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable> in _GLIBCXX_BEGIN_NAMESPACE() 631 operator[](const _Key& __k); in _GLIBCXX_BEGIN_NAMESPACE() 634 template<typename _Key, typename _Pair, typename _Hashtable> in _GLIBCXX_BEGIN_NAMESPACE() 635 typename _Map_base<_Key, _Pair, std::_Select1st<_Pair>, in _GLIBCXX_BEGIN_NAMESPACE() 637 _Map_base<_Key, _Pair, std::_Select1st<_Pair>, true, _Hashtable>:: in _GLIBCXX_BEGIN_NAMESPACE() 638 operator[](const _Key& __k) in _GLIBCXX_BEGIN_NAMESPACE() [all …]
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/ext/ |
| H A D | hashtable.h | 94 template<class _Val, class _Key, class _HashFcn, class _ExtractKey, 98 template<class _Val, class _Key, class _HashFcn, 102 template<class _Val, class _Key, class _HashFcn, 106 template<class _Val, class _Key, class _HashFcn, 110 typedef hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc> 112 typedef _Hashtable_iterator<_Val, _Key, _HashFcn, 115 typedef _Hashtable_const_iterator<_Val, _Key, _HashFcn, 157 template<class _Val, class _Key, class _HashFcn, 161 typedef hashtable<_Val, _Key, _HashFcn, _ExtractKey, _EqualKey, _Alloc> 163 typedef _Hashtable_iterator<_Val,_Key,_HashFcn, [all …]
|
| H A D | hash_map | 80 template<class _Key, class _Tp, class _HashFn = hash<_Key>, 81 class _EqualKey = equal_to<_Key>, class _Alloc = allocator<_Tp> > 85 typedef hashtable<pair<const _Key, _Tp>,_Key, _HashFn, 86 _Select1st<pair<const _Key, _Tp> >, 270 template<class _Key, class _Tp, class _HashFn, class _EqlKey, class _Alloc> 272 operator==(const hash_map<_Key, _Tp, _HashFn, _EqlKey, _Alloc>& __hm1, 273 const hash_map<_Key, _Tp, _HashFn, _EqlKey, _Alloc>& __hm2) 276 template<class _Key, class _Tp, class _HashFn, class _EqlKey, class _Alloc> 278 operator!=(const hash_map<_Key, _Tp, _HashFn, _EqlKey, _Alloc>& __hm1, 279 const hash_map<_Key, _Tp, _HashFn, _EqlKey, _Alloc>& __hm2) [all …]
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/include/ext/ |
| H A D | stl_hashtable.h | 95 template <class _Val, class _Key, class _HashFcn, 99 template <class _Val, class _Key, class _HashFcn, 103 template <class _Val, class _Key, class _HashFcn, 107 template <class _Val, class _Key, class _HashFcn, 110 typedef hashtable<_Val,_Key,_HashFcn,_ExtractKey,_EqualKey,_Alloc> 112 typedef _Hashtable_iterator<_Val, _Key, _HashFcn, 115 typedef _Hashtable_const_iterator<_Val, _Key, _HashFcn, 144 template <class _Val, class _Key, class _HashFcn, 147 typedef hashtable<_Val,_Key,_HashFcn,_ExtractKey,_EqualKey,_Alloc> 149 typedef _Hashtable_iterator<_Val,_Key,_HashFcn, [all …]
|
| H A D | hash_map | 77 template <class _Key, class _Tp, 78 class _HashFcn = hash<_Key>, 79 class _EqualKey = equal_to<_Key>, 83 template <class _Key, class _Tp, class _HashFn, class _EqKey, class _Alloc> 84 inline bool operator==(const hash_map<_Key, _Tp, _HashFn, _EqKey, _Alloc>&, 85 const hash_map<_Key, _Tp, _HashFn, _EqKey, _Alloc>&); 91 template <class _Key, class _Tp, class _HashFcn, class _EqualKey, 96 typedef hashtable<pair<const _Key,_Tp>,_Key,_HashFcn, 97 _Select1st<pair<const _Key,_Tp> >,_EqualKey,_Alloc> _Ht; 206 template <class _Key, class _Tp, class _HashFcn, class _EqlKey, class _Alloc> [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/__type_traits/ |
| H A D | can_extract_key.h | 31 template <class _ValTy, class _Key, class _RawValTy = __remove_const_ref_t<_ValTy> > 33 …: __conditional_t<_IsSame<_RawValTy, _Key>::value, __extract_key_self_tag, __extract_key_fail_tag>… 35 template <class _Pair, class _Key, class _First, class _Second> 36 struct __can_extract_key<_Pair, _Key, pair<_First, _Second> > 37 …: __conditional_t<_IsSame<__remove_const_t<_First>, _Key>::value, __extract_key_first_tag, __extra… 43 template <class _ValTy, class _Key, class _ContainerValueTy, 46 : integral_constant<bool, _IsSame<_RawValTy, _Key>::value> {}; 50 template <class _ValTy, class _Key, class _RawValTy> 51 struct __can_extract_map_key<_ValTy, _Key, _Key, _RawValTy>
|
| /openbsd-src/gnu/llvm/libcxx/include/experimental/ |
| H A D | unordered_map | 56 template <class _Key, class _Value, 57 class _Hash = hash<_Key>, class _Pred = equal_to<_Key>> 58 using unordered_map = _VSTD::unordered_map<_Key, _Value, _Hash, _Pred, 59 polymorphic_allocator<pair<const _Key, _Value>>>; 61 template <class _Key, class _Value, 62 class _Hash = hash<_Key>, class _Pred = equal_to<_Key>> 63 using unordered_multimap = _VSTD::unordered_multimap<_Key, _Value, _Hash, _Pred, 64 polymorphic_allocator<pair<const _Key, _Value>>>;
|
| H A D | map | 50 template <class _Key, class _Value, class _Compare = less<_Key>> 51 using map = _VSTD::map<_Key, _Value, _Compare, 52 polymorphic_allocator<pair<const _Key, _Value>>>; 54 template <class _Key, class _Value, class _Compare = less<_Key>> 55 using multimap = _VSTD::multimap<_Key, _Value, _Compare, 56 polymorphic_allocator<pair<const _Key, _Value>>>;
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | unordered_map | 556 template <class _Key, class _Cp, class _Hash, class _Pred, 576 size_t operator()(const _Key& __x) const 593 template <class _Key, class _Cp, class _Hash, class _Pred> 594 class __unordered_map_hasher<_Key, _Cp, _Hash, _Pred, false> 612 size_t operator()(const _Key& __x) const 629 template <class _Key, class _Cp, class _Hash, class _Pred, bool __b> 632 swap(__unordered_map_hasher<_Key, _Cp, _Hash, _Pred, __b>& __x, 633 __unordered_map_hasher<_Key, _Cp, _Hash, _Pred, __b>& __y) 639 template <class _Key, class _Cp, class _Pred, class _Hash, 659 bool operator()(const _Cp& __x, const _Key& __y) const [all …]
|