absl::linked_hash_set::linked_hash_set

Constructs a set from the range [first, last)].

Synopsis

Declared in <absl/container/linked_hash_set.h>

template<class InputIter>
linked_hash_set(
    InputIter first,
    InputIter last,
    size_t reservation_size,
    allocator_type const& alloc);

Parameters

NameDescription
firstIterator to the first element in the range.
lastIterator past the last element in the range.
reservation_sizeThe number of elements to reserve space for.
allocThe allocator to use.