| /openbsd-src/gnu/llvm/libcxx/include/__memory/ |
| H A D | allocator_traits.h | 237 using allocator_type = _Alloc; 238 using value_type = typename allocator_type::value_type; 239 using pointer = typename __pointer<value_type, allocator_type>::type; 240 using const_pointer = typename __const_pointer<value_type, pointer, allocator_type>::type; 241 using void_pointer = typename __void_pointer<pointer, allocator_type>::type; 242 using const_void_pointer = typename __const_void_pointer<pointer, allocator_type>::type; 243 using difference_type = typename __alloc_traits_difference_type<allocator_type, pointer>::type; 244 using size_type = typename __size_type<allocator_type, difference_type>::type; 245 …ontainer_copy_assignment = typename __propagate_on_container_copy_assignment<allocator_type>::type; 246 …ontainer_move_assignment = typename __propagate_on_container_move_assignment<allocator_type>::type; [all …]
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/include/bits/ |
| H A D | stl_vector.h | 80 typedef typename _Alloc_traits<_Tp, _Allocator>::allocator_type 81 allocator_type; typedef 83 allocator_type 86 _Vector_alloc_base(const allocator_type& __a) in _Vector_alloc_base() 91 allocator_type _M_data_allocator; 109 typedef typename _Alloc_traits<_Tp, _Allocator>::allocator_type 110 allocator_type; typedef 112 allocator_type 113 get_allocator() const { return allocator_type(); } in get_allocator() 115 _Vector_alloc_base(const allocator_type&) in _Vector_alloc_base() argument [all …]
|
| H A D | stl_list.h | 216 typedef typename _Alloc_traits<_Tp, _Allocator>::allocator_type 217 allocator_type; typedef 219 allocator_type 222 _List_alloc_base(const allocator_type& __a) in _List_alloc_base() 247 typename _Alloc_traits<_List_node<_Tp>, _Allocator>::allocator_type 258 typedef typename _Alloc_traits<_Tp, _Allocator>::allocator_type 259 allocator_type; typedef 261 allocator_type 262 get_allocator() const { return allocator_type(); } in get_allocator() 264 _List_alloc_base(const allocator_type&) in _List_alloc_base() argument [all …]
|
| H A D | stl_bvector.h | 271 typedef typename _Alloc_traits<bool, _Allocator>::allocator_type 272 allocator_type; typedef 273 allocator_type get_allocator() const { return _M_data_allocator; } in get_allocator() 275 _Bvector_alloc_base(const allocator_type& __a) in _Bvector_alloc_base() 287 typename _Alloc_traits<_Bit_type, _Allocator>::allocator_type 298 typedef typename _Alloc_traits<bool, _Allocator>::allocator_type 299 allocator_type; typedef 300 allocator_type get_allocator() const { return allocator_type(); } in get_allocator() 302 _Bvector_alloc_base(const allocator_type&) in _Bvector_alloc_base() argument 331 typedef typename _Base::allocator_type allocator_type; typedef [all …]
|
| H A D | stl_deque.h | 352 typedef typename _Alloc_traits<_Tp,_Alloc>::allocator_type allocator_type; typedef 353 allocator_type get_allocator() const { return _M_node_allocator; } in get_allocator() 355 _Deque_alloc_base(const allocator_type& __a) in _Deque_alloc_base() 361 typedef typename _Alloc_traits<_Tp*, _Alloc>::allocator_type 384 allocator_type _M_node_allocator; 395 typedef typename _Alloc_traits<_Tp,_Alloc>::allocator_type allocator_type; typedef 396 allocator_type get_allocator() const { return allocator_type(); } in get_allocator() 398 _Deque_alloc_base(const allocator_type&) in _Deque_alloc_base() argument 451 typedef typename _Base::allocator_type allocator_type; typedef 455 _Deque_base(const allocator_type& __a, size_t __num_elements) in _Deque_base() [all …]
|
| H A D | stl_set.h | 112 typedef typename _Rep_type::allocator_type allocator_type; typedef 116 set() : _M_t(_Compare(), allocator_type()) {} in set() 118 const allocator_type& __a = allocator_type()) 123 : _M_t(_Compare(), allocator_type()) in set() 128 const allocator_type& __a = allocator_type()) 142 allocator_type get_allocator() const { return _M_t.get_allocator(); } in get_allocator()
|
| /openbsd-src/gnu/llvm/libcxx/include/ |
| H A D | set | 30 typedef Allocator allocator_type; 31 typedef typename allocator_type::reference reference; 32 typedef typename allocator_type::const_reference const_reference; 33 typedef typename allocator_type::size_type size_type; 34 typedef typename allocator_type::difference_type difference_type; 35 typedef typename allocator_type::pointer pointer; 36 typedef typename allocator_type::const_pointer const_pointer; 48 is_nothrow_default_constructible<allocator_type>::value && 52 set(const value_compare& comp, const allocator_type& a); 58 const allocator_type& a); [all …]
|
| H A D | unordered_set | 32 typedef Alloc allocator_type; 35 typedef typename allocator_traits<allocator_type>::pointer pointer; 36 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 37 typedef typename allocator_traits<allocator_type>::size_type size_type; 38 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 52 is_nothrow_default_constructible<allocator_type>::value); 55 const allocator_type& a = allocator_type()); 60 const allocator_type& a = allocator_type()); 61 explicit unordered_set(const allocator_type&); 68 is_nothrow_move_constructible<allocator_type>::value); [all …]
|
| H A D | vector | 24 typedef Allocator allocator_type; 25 typedef typename allocator_type::reference reference; 26 typedef typename allocator_type::const_reference const_reference; 29 typedef typename allocator_type::size_type size_type; 30 typedef typename allocator_type::difference_type difference_type; 31 typedef typename allocator_type::pointer pointer; 32 typedef typename allocator_type::const_pointer const_pointer; 37 noexcept(is_nothrow_default_constructible<allocator_type>::value); 38 explicit vector(const allocator_type&); 40 explicit vector(size_type n, const allocator_type&); // C++14 [all …]
|
| H A D | unordered_map | 32 typedef Alloc allocator_type; 36 typedef typename allocator_traits<allocator_type>::pointer pointer; 37 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 38 typedef typename allocator_traits<allocator_type>::size_type size_type; 39 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 53 is_nothrow_default_constructible<allocator_type>::value); 56 const allocator_type& a = allocator_type()); 61 const allocator_type& a = allocator_type()); 62 explicit unordered_map(const allocator_type&); 69 is_nothrow_move_constructible<allocator_type>::value); [all …]
|
| H A D | map | 30 typedef Allocator allocator_type; 31 typedef typename allocator_type::reference reference; 32 typedef typename allocator_type::const_reference const_reference; 33 typedef typename allocator_type::pointer pointer; 34 typedef typename allocator_type::const_pointer const_pointer; 35 typedef typename allocator_type::size_type size_type; 36 typedef typename allocator_type::difference_type difference_type; 62 is_nothrow_default_constructible<allocator_type>::value && 66 map(const key_compare& comp, const allocator_type& a); 72 const key_compare& comp, const allocator_type& a); [all …]
|
| H A D | sstream | 27 typedef Allocator allocator_type; 33 explicit basic_stringbuf(const basic_string<char_type, traits_type, allocator_type>& str, 42 basic_string<char_type, traits_type, allocator_type> str() const; 43 void str(const basic_string<char_type, traits_type, allocator_type>& s); 76 typedef Allocator allocator_type; 83 explicit basic_istringstream(const basic_string<char_type, traits_type,allocator_type>& str, 92 basic_stringbuf<char_type, traits_type, allocator_type>* rdbuf() const; 93 basic_string<char_type, traits_type, allocator_type> str() const; 94 void str(const basic_string<char_type, traits_type, allocator_type>& s); 116 typedef Allocator allocator_type; [all …]
|
| H A D | deque | 25 typedef Allocator allocator_type; 27 typedef typename allocator_type::reference reference; 28 typedef typename allocator_type::const_reference const_reference; 31 typedef typename allocator_type::size_type size_type; 32 typedef typename allocator_type::difference_type difference_type; 34 typedef typename allocator_type::pointer pointer; 35 typedef typename allocator_type::const_pointer const_pointer; 40 deque() noexcept(is_nothrow_default_constructible<allocator_type>::value); 41 explicit deque(const allocator_type& a); 43 explicit deque(size_type n, const allocator_type& a); // C++14 [all …]
|
| H A D | __node_handle | 21 using allocator_type = see below; 25 using ator_traits = allocator_traits<allocator_type>; // exposition only 29 optional<allocator_type> alloc_; // exposition only 45 allocator_type get_allocator() const; 99 typedef _Alloc allocator_type; 103 optional<allocator_type> __alloc_; 118 allocator_type, _NodeType>::type __node_alloc_type; 128 allocator_type const& __alloc) 170 allocator_type get_allocator() const { return *__alloc_; }
|
| /openbsd-src/gnu/lib/libstdc++/libstdc++/include/ext/ |
| H A D | stl_rope.h | 409 typedef typename _Alloc_traits<_CharT,_Allocator>::allocator_type 410 allocator_type; typedef 411 allocator_type get_allocator() const { return _M_data_allocator; } in get_allocator() 412 _Rope_rep_alloc_base(size_t __size, const allocator_type& __a) in _Rope_rep_alloc_base() 419 allocator_type _M_data_allocator; 423 _Alloc_traits<_Tp,_Allocator>::allocator_type __name##Allocator; \ 437 typedef typename _Alloc_traits<_CharT,_Allocator>::allocator_type 438 allocator_type; typedef 439 allocator_type get_allocator() const { return allocator_type(); } in get_allocator() 440 _Rope_rep_alloc_base(size_t __size, const allocator_type&) in _Rope_rep_alloc_base() argument [all …]
|
| H A D | hash_set | 122 typedef typename _Ht::allocator_type allocator_type; 126 allocator_type get_allocator() const { return _M_ht.get_allocator(); } 130 : _M_ht(100, hasher(), key_equal(), allocator_type()) {} 132 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 134 : _M_ht(__n, __hf, key_equal(), allocator_type()) {} 136 const allocator_type& __a = allocator_type()) 141 : _M_ht(100, hasher(), key_equal(), allocator_type()) 145 : _M_ht(__n, hasher(), key_equal(), allocator_type()) 150 : _M_ht(__n, __hf, key_equal(), allocator_type()) 155 const allocator_type& __a = allocator_type()) [all …]
|
| H A D | hash_map | 118 typedef typename _Ht::allocator_type allocator_type; 122 allocator_type get_allocator() const { return _M_ht.get_allocator(); } 125 hash_map() : _M_ht(100, hasher(), key_equal(), allocator_type()) {} 127 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 129 : _M_ht(__n, __hf, key_equal(), allocator_type()) {} 131 const allocator_type& __a = allocator_type()) 136 : _M_ht(100, hasher(), key_equal(), allocator_type()) 140 : _M_ht(__n, hasher(), key_equal(), allocator_type()) 145 : _M_ht(__n, __hf, key_equal(), allocator_type()) 150 const allocator_type& __a = allocator_type()) [all …]
|
| /openbsd-src/gnu/llvm/libcxx/include/ext/ |
| H A D | hash_set | 30 typedef Alloc allocator_type; 33 typedef typename allocator_traits<allocator_type>::pointer pointer; 34 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 35 typedef typename allocator_traits<allocator_type>::size_type size_type; 36 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 43 const allocator_type& a = allocator_type()); 48 const allocator_type& a = allocator_type()); 53 allocator_type get_allocator() const; 116 typedef Alloc allocator_type; 119 typedef typename allocator_traits<allocator_type>::pointer pointer; [all …]
|
| H A D | hash_map | 30 typedef Alloc allocator_type; 34 typedef typename allocator_traits<allocator_type>::pointer pointer; 35 typedef typename allocator_traits<allocator_type>::const_pointer const_pointer; 36 typedef typename allocator_traits<allocator_type>::size_type size_type; 37 typedef typename allocator_traits<allocator_type>::difference_type difference_type; 45 const allocator_type& a = allocator_type()); 52 const allocator_type& a = allocator_type()); 57 allocator_type get_allocator() const; 122 typedef Alloc allocator_type; 126 typedef typename allocator_traits<allocator_type>::pointer pointer; [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.pt/ |
| H A D | lookup1.C | 6 typedef int allocator_type; typedef 12 typedef short allocator_type; typedef 13 explicit vector(const allocator_type& a = allocator_type()) {}
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/tr1/ |
| H A D | unordered_set | 71 typedef typename _Base::allocator_type allocator_type; 77 const allocator_type& __a = allocator_type()) 88 const allocator_type& __a = allocator_type()) 120 typedef typename _Base::allocator_type allocator_type; 126 const allocator_type& __a = allocator_type()) 138 const allocator_type& __a = allocator_type())
|
| H A D | unordered_map | 71 typedef typename _Base::allocator_type allocator_type; 77 const allocator_type& __a = allocator_type()) 88 const allocator_type& __a = allocator_type()) 122 typedef typename _Base::allocator_type allocator_type; 128 const allocator_type& __a = allocator_type()) 140 const allocator_type& __a = allocator_type())
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/ext/ |
| H A D | hash_set | 111 typedef typename _Ht::allocator_type allocator_type; 121 allocator_type 127 : _M_ht(100, hasher(), key_equal(), allocator_type()) {} 131 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 134 : _M_ht(__n, __hf, key_equal(), allocator_type()) {} 137 const allocator_type& __a = allocator_type()) 142 : _M_ht(100, hasher(), key_equal(), allocator_type()) 147 : _M_ht(__n, hasher(), key_equal(), allocator_type()) 153 : _M_ht(__n, __hf, key_equal(), allocator_type()) 159 const allocator_type& __a = allocator_type()) [all …]
|
| H A D | hash_map | 109 typedef typename _Ht::allocator_type allocator_type; 119 allocator_type 125 : _M_ht(100, hasher(), key_equal(), allocator_type()) {} 129 : _M_ht(__n, hasher(), key_equal(), allocator_type()) {} 132 : _M_ht(__n, __hf, key_equal(), allocator_type()) {} 135 const allocator_type& __a = allocator_type()) 140 : _M_ht(100, hasher(), key_equal(), allocator_type()) 145 : _M_ht(__n, hasher(), key_equal(), allocator_type()) 151 : _M_ht(__n, __hf, key_equal(), allocator_type()) 157 const allocator_type& __a = allocator_type()) [all …]
|
| /openbsd-src/gnu/gcc/libstdc++-v3/include/bits/ |
| H A D | stl_multiset.h | 105 typedef _Alloc allocator_type; in _GLIBCXX_BEGIN_NESTED_NAMESPACE() typedef 137 : _M_t(_Compare(), allocator_type()) { } in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 141 const allocator_type& __a = allocator_type()) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 155 : _M_t(_Compare(), allocator_type()) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 172 const allocator_type& __a = allocator_type()) in _GLIBCXX_BEGIN_NESTED_NAMESPACE() 211 allocator_type in _GLIBCXX_BEGIN_NESTED_NAMESPACE()
|