Constructors
Declared in <bslstl_multimap.h>
Create an empty multimap.
multimap();
» more...
Create a multimap with the same value as original.
multimap(multimap const& original);
» more...
Create a multimap by moving from original.
multimap(BloombergLP::bslmf::MovableRef<multimap> original);
» more...
Create an empty multimap that uses basicAllocator.
explicit
multimap(ALLOCATOR const& basicAllocator);
» more...
Create a multimap by moving from original using basicAllocator.
multimap(
BloombergLP::bslmf::MovableRef<multimap> original,
ALLOCATOR const& basicAllocator);
» more...
Create a multimap from values using basicAllocator.
multimap(
std::initializer_list<value_type> values,
ALLOCATOR const& basicAllocator);
» more...
Create an empty multimap using comparator and basicAllocator.
explicit
multimap(
COMPARATOR const& comparator,
ALLOCATOR const& basicAllocator = ALLOCATOR());
» more...
Create a multimap with the value of original using basicAllocator.
multimap(
multimap const& original,
ALLOCATOR const& basicAllocator);
» more...
Create a multimap from values, optionally with comparator and allocator.
multimap(
std::initializer_list<value_type> values,
COMPARATOR const& comparator = COMPARATOR(),
ALLOCATOR const& basicAllocator = ALLOCATOR());
» more...
Create a multimap from [first, last)] using basicAllocator.
template<class INPUT_ITERATOR>
multimap(
INPUT_ITERATOR first,
INPUT_ITERATOR last,
ALLOCATOR const& basicAllocator);
» more...
Create a multimap from range using basicAllocator.
template<class RANGE>
multimap(
std::from_range_t tag,
RANGE&& range,
ALLOCATOR const& basicAllocator);
» more...
Create a multimap from [first, last)], optionally with comparator and allocator.
template<class INPUT_ITERATOR>
multimap(
INPUT_ITERATOR first,
INPUT_ITERATOR last,
COMPARATOR const& comparator = COMPARATOR(),
ALLOCATOR const& basicAllocator = ALLOCATOR());
» more...
Create a multimap from range, optionally with comparator and allocator.
template<class RANGE>
multimap(
std::from_range_t tag,
RANGE&& range,
COMPARATOR const& comparator = COMPARATOR(),
ALLOCATOR const& basicAllocator = ALLOCATOR());
» more...
| Name | Description |
|---|---|
| original | multimap to copy |
| basicAllocator | allocator used to supply memory |
| values | initializer list of elements to insert |
| comparator | functor used to order keys |
| first | beginning of the range to copy |
| last | end of the range to copy |
| tag | disambiguation tag for range construction |
| range | input range of elements to insert |