Create a map from values using basicAllocator.

Synopsis

Declared in <bslstl_map.h>

map(
    std::initializer_list<value_type> values,
    ALLOCATOR const& basicAllocator);

Description

Create a map containing the elements from the specified values initializer list, using the specified basicAllocator to supply memory. If basicAllocator is 0, the currently installed default allocator is used.

Parameters

Name

Description

values

initializer list of elements to insert

basicAllocator

allocator used to supply memory

Created with MrDocs