absl::linked_hash_set::linked_hash_set

Constructs a set from an initializer list.

Synopsis

Declared in <absl/container/linked_hash_set.h>

linked_hash_set(
    std::initializer_list<key_type> init,
    size_t reservation_size,
    hasher const& hash,
    allocator_type const& alloc);

Parameters

NameDescription
initThe initializer list of elements.
reservation_sizeThe number of elements to reserve space for.
hashThe hash functor to use.
allocThe allocator to use.