absl::linked_hash_set::linked_hash_set

Constructs an empty set with the given reservation size and functors.

Synopsis

Declared in <absl/container/linked_hash_set.h>

explicit
linked_hash_set(
    size_t reservation_size,
    hasher const& hash = hasher(),
    key_equal const& eq = key_equal(),
    allocator_type const& alloc = allocator_type());

Parameters

NameDescription
reservation_sizeThe number of elements to reserve space for.
hashThe hash functor to use.
eqThe key equality functor to use.
allocThe allocator to use.