Lines Matching refs:std
31 using value_type = std::pair<const Key, T>;
45 template <typename Key, typename T, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_…
46 typename Allocator = tbb::tbb_allocator<std::pair<const Key, T>> >
79 …oncurrent_unordered_map&& other, const allocator_type& alloc ) : base_type(std::move(other), alloc… in concurrent_unordered_map()
84 concurrent_unordered_map& operator=( std::initializer_list<value_type> il ) {
94 … where = this->emplace(std::piecewise_construct, std::forward_as_tuple(key), std::tuple<>()).first;
103 …where = this->emplace(std::piecewise_construct, std::forward_as_tuple(std::move(key)), std::tuple<…
129 typename std::enable_if<std::is_constructible<value_type, P&&>::value,
130 std::pair<iterator, bool>>::type insert( P&& value ) { in insert()
131 return this->emplace(std::forward<P>(value)); in insert()
135 typename std::enable_if<std::is_constructible<value_type, P&&>::value,
137 return this->emplace_hint(hint, std::forward<P>(value)); in insert()
147 this->internal_merge(std::move(source)); in merge()
157 this->internal_merge(std::move(source)); in merge()
163 typename Hash = std::hash<iterator_key_t<It>>,
164 typename KeyEq = std::equal_to<iterator_key_t<It>>,
166 typename = std::enable_if_t<is_input_iterator_v<It>>,
167 typename = std::enable_if_t<is_allocator_v<Alloc>>,
168 typename = std::enable_if_t<!is_allocator_v<Hash>>,
169 typename = std::enable_if_t<!is_allocator_v<KeyEq>>,
170 typename = std::enable_if_t<!std::is_integral_v<Hash>>>
171 concurrent_unordered_map( It, It, std::size_t = {},
176 typename Hash = std::hash<std::remove_const_t<Key>>,
177 typename KeyEq = std::equal_to<std::remove_const_t<Key>>,
178 typename Alloc = tbb::tbb_allocator<std::pair<const Key, T>>,
179 typename = std::enable_if_t<is_allocator_v<Alloc>>,
180 typename = std::enable_if_t<!is_allocator_v<Hash>>,
181 typename = std::enable_if_t<!is_allocator_v<KeyEq>>,
182 typename = std::enable_if_t<!std::is_integral_v<Hash>>>
183 concurrent_unordered_map( std::initializer_list<std::pair<Key, T>>, std::size_t = {},
185 -> concurrent_unordered_map<std::remove_const_t<Key>, T, Hash, KeyEq, Alloc>;
188 typename = std::enable_if_t<is_input_iterator_v<It>>,
189 typename = std::enable_if_t<is_allocator_v<Alloc>>>
190 concurrent_unordered_map( It, It, std::size_t, Alloc )
192 std::hash<iterator_key_t<It>>,
193 std::equal_to<iterator_key_t<It>>, Alloc>;
198 typename = std::enable_if_t<is_input_iterator_v<It>>,
199 typename = std::enable_if_t<is_allocator_v<Alloc>>,
200 typename = std::enable_if_t<!is_allocator_v<Hash>>,
201 typename = std::enable_if_t<!std::is_integral_v<Hash>>>
202 concurrent_unordered_map( It, It, std::size_t, Hash, Alloc )
204 Hash, std::equal_to<iterator_key_t<It>>, Alloc>;
207 typename = std::enable_if_t<is_allocator_v<Alloc>>>
208 concurrent_unordered_map( std::initializer_list<std::pair<Key, T>>, std::size_t, Alloc )
209 -> concurrent_unordered_map<std::remove_const_t<Key>, T, std::hash<std::remove_const_t<Key>>,
210 std::equal_to<std::remove_const_t<Key>>, Alloc>;
213 typename = std::enable_if_t<is_allocator_v<Alloc>>>
214 concurrent_unordered_map( std::initializer_list<std::pair<Key, T>>, Alloc )
215 -> concurrent_unordered_map<std::remove_const_t<Key>, T, std::hash<std::remove_const_t<Key>>,
216 std::equal_to<std::remove_const_t<Key>>, Alloc>;
219 typename = std::enable_if_t<is_allocator_v<Alloc>>,
220 typename = std::enable_if_t<!is_allocator_v<Hash>>,
221 typename = std::enable_if_t<!std::is_integral_v<Hash>>>
222 concurrent_unordered_map( std::initializer_list<std::pair<Key, T>>, std::size_t, Hash, Alloc )
223 -> concurrent_unordered_map<std::remove_const_t<Key>, T, Hash,
224 std::equal_to<std::remove_const_t<Key>>, Alloc>;
244 template <typename Key, typename T, typename Hash = std::hash<Key>, typename KeyEqual = std::equal_…
245 typename Allocator = tbb::tbb_allocator<std::pair<const Key, T>> >
279 …rent_unordered_multimap&& other, const allocator_type& alloc ) : base_type(std::move(other), alloc… in concurrent_unordered_multimap()
284 concurrent_unordered_multimap& operator=( std::initializer_list<value_type> il ) {
290 typename std::enable_if<std::is_constructible<value_type, P&&>::value,
291 std::pair<iterator, bool>>::type insert( P&& value ) { in insert()
292 return this->emplace(std::forward<P>(value)); in insert()
296 typename std::enable_if<std::is_constructible<value_type, P&&>::value,
298 return this->emplace_hint(hint, std::forward<P&&>(value)); in insert()
308 this->internal_merge(std::move(source)); in merge()
318 this->internal_merge(std::move(source)); in merge()
325 typename Hash = std::hash<iterator_key_t<It>>,
326 typename KeyEq = std::equal_to<iterator_key_t<It>>,
328 typename = std::enable_if_t<is_input_iterator_v<It>>,
329 typename = std::enable_if_t<is_allocator_v<Alloc>>,
330 typename = std::enable_if_t<!is_allocator_v<Hash>>,
331 typename = std::enable_if_t<!is_allocator_v<KeyEq>>,
332 typename = std::enable_if_t<!std::is_integral_v<Hash>>>
333 concurrent_unordered_multimap( It, It, std::size_t = {}, Hash = Hash(), KeyEq = KeyEq(), Alloc = Al…
337 typename Hash = std::hash<std::remove_const_t<Key>>,
338 typename KeyEq = std::equal_to<std::remove_const_t<Key>>,
339 typename Alloc = tbb::tbb_allocator<std::pair<const Key, T>>,
340 typename = std::enable_if_t<is_allocator_v<Alloc>>,
341 typename = std::enable_if_t<!is_allocator_v<Hash>>,
342 typename = std::enable_if_t<!is_allocator_v<KeyEq>>,
343 typename = std::enable_if_t<!std::is_integral_v<Hash>>>
344 concurrent_unordered_multimap( std::initializer_list<std::pair<Key, T>>, std::size_t = {},
346 -> concurrent_unordered_multimap<std::remove_const_t<Key>, T, Hash, KeyEq, Alloc>;
349 typename = std::enable_if_t<is_input_iterator_v<It>>,
350 typename = std::enable_if_t<is_allocator_v<Alloc>>>
351 concurrent_unordered_multimap( It, It, std::size_t, Alloc )
353 std::hash<iterator_key_t<It>>,
354 std::equal_to<iterator_key_t<It>>, Alloc>;
357 typename = std::enable_if_t<is_input_iterator_v<It>>,
358 typename = std::enable_if_t<is_allocator_v<Alloc>>,
359 typename = std::enable_if_t<!is_allocator_v<Hash>>,
360 typename = std::enable_if_t<!std::is_integral_v<Hash>>>
361 concurrent_unordered_multimap( It, It, std::size_t, Hash, Alloc )
363 std::equal_to<iterator_key_t<It>>, Alloc>;
366 typename = std::enable_if_t<is_allocator_v<Alloc>>>
367 concurrent_unordered_multimap( std::initializer_list<std::pair<Key, T>>, std::size_t, Alloc )
368 -> concurrent_unordered_multimap<std::remove_const_t<Key>, T, std::hash<std::remove_const_t<Key>>,
369 std::equal_to<std::remove_const_t<Key>>, Alloc>;
372 typename = std::enable_if_t<is_allocator_v<Alloc>>>
373 concurrent_unordered_multimap( std::initializer_list<std::pair<Key, T>>, Alloc )
374 -> concurrent_unordered_multimap<std::remove_const_t<Key>, T, std::hash<std::remove_const_t<Key>>,
375 std::equal_to<std::remove_const_t<Key>>, Alloc>;
378 typename = std::enable_if_t<is_allocator_v<Alloc>>,
379 typename = std::enable_if_t<!is_allocator_v<Hash>>,
380 typename = std::enable_if_t<!std::is_integral_v<Hash>>>
381 concurrent_unordered_multimap( std::initializer_list<std::pair<Key, T>>, std::size_t, Hash, Alloc )
382 -> concurrent_unordered_multimap<std::remove_const_t<Key>, T, Hash,
383 std::equal_to<std::remove_const_t<Key>>, Alloc>;