Create a map from range using basicAllocator.

Synopsis

Declared in <bslstl_map.h>

template<class RANGE>
map(
    std::from_range_t tag,
    RANGE&& range,
    ALLOCATOR const& basicAllocator);

Description

Create a map having the (value_type) values obtained from the specified range, using the specified basicAllocator to supply memory.

Parameters

Name

Description

tag

disambiguation tag for range construction

range

input range of elements to insert

basicAllocator

allocator used to supply memory

Created with MrDocs