std::unordered_multiset
cppreference.com
<tbody>
</tbody>
template< class Key, class Hash = std::hash<Key>, class KeyEqual = std::equal_to<Key>, class Allocator = std::allocator<Key> > class unordered_multiset; |
(1) | ( C++11) |
namespace pmr { template< class Key, class Hash = std::hash<Key>, class Pred = std::equal_to<Key> > using unordered_multiset = std::unordered_multiset<Key, Hash, Pred, std::pmr::polymorphic_allocator<Key>>; } |
(2) | ( C++17) |
std::unordered_multiset , Key. , .
- , . , . , , .
( std::equal std::unordered_multiset), , , ( key_eq() ), , equal_range().
std::unordered_multiset Container, AllocatorAwareContainer, UnorderedAssociativeContainer.
| : . |
-
| - | |
key_type
|
Key
|
value_type
|
Key
|
size_type
|
( std::size_t) |
difference_type
|
( std::ptrdiff_t) |
hasher
|
Hash
|
key_equal
|
KeyEqual
|
allocator_type
|
Allocator
|
reference
|
value_type&
|
const_reference
|
const value_type&
|
pointer
|
std::allocator_traits<Allocator>::pointer
|
const_pointer
|
std::allocator_traits<Allocator>::const_pointer
|
iterator
|
Constant LegacyForwardIterator value_type
|
const_iterator
|
LegacyForwardIterator const value_type
|
local_iterator
|
, category, value, difference, pointer iterator. , . |
const_local_iterator
|
, category, value, difference, pointer const_iterator. , .
|
node_type ( C++17)
|
, |
-
(C++11) |
unordered_multiset (public -) |
(C++11) |
unordered_multiset (public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++11) |
, (public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++11) |
( C++17) (public -) |
(C++23) |
(public -) |
(C++11) |
(public -) |
(C++11) |
, (public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++17) |
(public -) |
(C++17) |
(public -) |
(C++11) |
, (public -) |
(C++11) |
(public -) |
(C++11) |
, (public -) |
| (public -) | |
| (public -) | |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++11) |
(public -) |
(C++11) |
- (public -) |
(C++11) |
- (public -) |
(C++11) |
, (public -) |
(C++11) |
, (public -) |
,
( C++20) |
unordered_multiset ( ) |
| std::swap ( ) | |
| , ( ) |
|
|
( C++17) |
iterator const_iterator . , . iterator const_iterator, const_iterator.
__cpp_lib_containers_ranges |
202202L |
(C++23) |
| : |
C++:
| LWG 2050 | C++11 | reference, const_reference, pointer const_pointer allocator_type
|
value_type std::allocator_traits
|