absl::linked_hash_set::linked_hash_set

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

Synopsis

Declared in <absl/container/linked_hash_set.h>

linked_hash_set(
    size_t reservation_size,
    allocator_type const& alloc);

Parameters

NameDescription
reservation_sizeThe number of elements to reserve space for.
allocThe allocator to use.