Constructs a set from the range [first, last)].
Declared in <absl/container/linked_hash_set.h>
template<class InputIt>
linked_hash_set(
InputIt first,
InputIt last,
size_t reservation_size = 0,
hasher const& hash = hasher(),
key_equal const& eq = key_equal(),
allocator_type const& alloc = allocator_type());
| Name | Description |
|---|---|
| first | Iterator to the first element in the range. |
| last | Iterator past the last element in the range. |
| reservation_size | The number of elements to reserve space for. |
| hash | The hash functor to use. |
| eq | The key equality functor to use. |
| alloc | The allocator to use. |