bsl::map::map

Create a map from [first, last)] using basicAllocator.

Synopsis

Declared in <bslstl_map.h>

template<class INPUT_ITERATOR>
map(
    INPUT_ITERATOR first,
    INPUT_ITERATOR last,
    ALLOCATOR const& basicAllocator);

Description

Same as the preceding overload, omitting comparator.

Parameters

NameDescription
firstbeginning of the range to copy
lastend of the range to copy
basicAllocatorallocator used to supply memory