Constructs an empty map with the given capacity, hash, and allocator.

Synopsis

Declared in <absl/container/linked_hash_map.h>

linked_hash_map(
    size_t reservation_size,
    hasher const& hash,
    allocator_type const& alloc);

Parameters

Name

Description

reservation_size

The number of elements to reserve capacity for.

hash

The hash function to use.

alloc

The allocator to use.

Created with MrDocs