Difference between revisions of "cpp/container/unordered multiset"
From cppreference.com
(+note) |
m (Shorten template names. Use {{lc}} where appropriate.) |
||
Line 15: | Line 15: | ||
===Member types=== | ===Member types=== | ||
− | {{ | + | {{dsc begin}} |
− | {{ | + | {{dsc hitem | Member type | Definition}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list key_type | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list value_type | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list size_type | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list difference_type | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list hasher | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list key_equal | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list allocator_type | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list reference | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list const_reference | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list pointer | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list const_pointer | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list iterator | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list const_iterator | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list local_iterator | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list const_local_iterator | unordered_multiset}} |
− | {{ | + | {{dsc end}} |
===Member functions=== | ===Member functions=== | ||
− | {{ | + | {{dsc begin}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list constructor | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list destructor | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list operator{{=}} | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list get_allocator | unordered_multiset}} |
− | {{ | + | {{dsc h2 | Iterators}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list begin | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list end | unordered_multiset}} |
− | {{ | + | {{dsc h2 | Capacity}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list empty | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list size | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list max_size | unordered_multiset}} |
− | {{ | + | {{dsc h2 | Modifiers}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list clear | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list insert | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list emplace | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list emplace_hint | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list erase | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list swap | unordered_multiset}} |
− | {{ | + | {{dsc h2 | Lookup}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list count | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list find | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list equal_range | unordered_multiset}} |
− | {{ | + | {{dsc h2 | Bucket interface}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list begin(int) | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list end(int) | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list bucket_count | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list max_bucket_count | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list bucket_size | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list bucket | unordered_multiset}} |
− | {{ | + | {{dsc h2 | Hash policy}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list load_factor | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list max_load_factor | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list rehash | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list reserve | unordered_multiset}} |
− | {{ | + | {{dsc h2 | Observers}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list hash_function | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list key_eq | unordered_multiset}} |
− | {{ | + | {{dsc end}} |
===Non-member functions=== | ===Non-member functions=== | ||
− | {{ | + | {{dsc begin}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list operator_cmp_unord | unordered_multiset}} |
− | {{ | + | {{dsc inc | cpp/container/dcl list swap2 | unordered_multiset}} |
− | {{ | + | {{dsc end}} |
===Notes=== | ===Notes=== |
Revision as of 18:41, 31 May 2013
Defined in header <unordered_set>
|
||
template< class Key, |
(since C++11) | |
Unordered multiset is an associative container that contains set of possibly non-unique objects of type Key. Search, insertion, and removal have average constant-time complexity.
std::unordered_multiset
meets the requirements of Template:concept, Template:concept, Template:concept.
Contents |
Member types
Member functions
Non-member functions
Notes
The member types iterator
and const_iterator
may be aliases to the same type. This means defining a pair of function overloads using the two types as parameter types may violate the One Definition Rule. Since iterator
is convertible to const_iterator
, a single function with a const_iterator
as parameter type will work instead.