Constructors
Declared in <bslstl_multiset.h>
Create an empty multiset.
multiset();
» more...
Create a multiset having the same value as original.
multiset(multiset const& original);
» more...
Create a multiset by moving from original.
multiset(BloombergLP::bslmf::MovableRef<multiset> original);
» more...
Create an empty multiset that uses the specified basicAllocator.
explicit
multiset(ALLOCATOR const& basicAllocator);
» more...
Create a multiset by moving from original with basicAllocator.
multiset(
BloombergLP::bslmf::MovableRef<multiset> original,
ALLOCATOR const& basicAllocator);
» more...
Same as the preceding overload, using the specified basicAllocator.
multiset(
std::initializer_list<KEY> values,
ALLOCATOR const& basicAllocator);
» more...
Create an empty multiset having the specified comparator.
explicit
multiset(
COMPARATOR const& comparator,
ALLOCATOR const& basicAllocator = ALLOCATOR());
» more...
Create a copy of original using basicAllocator.
multiset(
multiset const& original,
ALLOCATOR const& basicAllocator);
» more...
Create a multiset from the specified values initializer list.
multiset(
std::initializer_list<KEY> values,
COMPARATOR const& comparator = COMPARATOR(),
ALLOCATOR const& basicAllocator = ALLOCATOR());
» more...
Same as the preceding overload, using the specified basicAllocator.
template<class INPUT_ITERATOR>
multiset(
INPUT_ITERATOR first,
INPUT_ITERATOR last,
ALLOCATOR const& basicAllocator);
» more...
Create a multiset from the specified range, using the specified basicAllocator.
template<class RANGE>
multiset(
std::from_range_t tag,
RANGE&& range,
ALLOCATOR const& basicAllocator);
» more...
Create a multiset from the range [first, last)].
template<class INPUT_ITERATOR>
multiset(
INPUT_ITERATOR first,
INPUT_ITERATOR last,
COMPARATOR const& comparator = COMPARATOR(),
ALLOCATOR const& basicAllocator = ALLOCATOR());
» more...
Create a multiset from the specified range.
template<class RANGE>
multiset(
std::from_range_t tag,
RANGE&& range,
COMPARATOR const& comparator = COMPARATOR(),
ALLOCATOR const& basicAllocator = ALLOCATOR());
» more...
| Name | Description |
|---|---|
| original | multiset to copy |
| basicAllocator | allocator used to supply memory |
| values | initializer list of elements to insert |
| comparator | key-ordering comparator for this multiset |
| first | beginning of the input range |
| last | end of the input range |
| tag | disambiguation tag selecting the range constructor |
| range | input range of elements to insert |