bsl::multimap::multimap

Constructors

Synopses

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...

Parameters

NameDescription
originalmultimap to copy
basicAllocatorallocator used to supply memory
valuesinitializer list of elements to insert
comparatorfunctor used to order keys
firstbeginning of the range to copy
lastend of the range to copy
tagdisambiguation tag for range construction
rangeinput range of elements to insert