Constructs an empty map with the given capacity, hash, equality, and allocator.
Declared in <absl/container/linked_hash_map.h>
explicit
linked_hash_map(
size_t reservation_size,
hasher const& hash = hasher(),
key_equal const& eq = key_equal(),
allocator_type const& alloc = allocator_type());
| Name | Description |
|---|---|
| reservation_size | The number of elements to reserve capacity for. |
| hash | The hash function to use. |
| eq | The key equality comparison to use. |
| alloc | The allocator to use. |