Constructs a map from an initializer list.

Synopsis

Declared in <absl/container/linked_hash_map.h>

linked_hash_map(
    std::initializer_list<value_type> init,
    size_t reservation_size,
    allocator_type const& alloc);

Parameters

Name

Description

init

The initializer list of elements.

reservation_size

The number of elements to reserve capacity for.

alloc

The allocator to use.

Created with MrDocs