Constructs a map from the range [first, last)].
Declared in <absl/container/linked_hash_map.h>
template<class InputIt>
linked_hash_map(
InputIt first,
InputIt last,
size_t reservation_size,
hasher const& hash,
allocator_type const& alloc);
| Name | Description |
|---|---|
| first | Iterator to the first element of the range. |
| last | Iterator past the last element of the range. |
| reservation_size | The number of elements to reserve capacity for. |
| hash | The hash function to use. |
| alloc | The allocator to use. |