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 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());

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.
hashThe hash functor to use.
eqThe key equality functor to use.
allocThe allocator to use.