[#absl-linked_hash_set-2constructor-053] = xref:absl.adoc[absl]::xref:absl/linked_hash_set.adoc[linked_hash_set]::linked_hash_set :relfileprefix: ../../ :mrdocs: Constructs a set from an initializer list. == Synopsis Declared in `<absl/container/linked_hash_set.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- linked_hash_set( std::initializer_list<key_type> init, size_t reservation_size = 0, xref:absl/linked_hash_set/hasher.adoc[hasher] const& hash = hasher(), xref:absl/linked_hash_set/key_equal.adoc[key_equal] const& eq = key_equal(), xref:absl/linked_hash_set/allocator_type.adoc[allocator_type] const& alloc = allocator_type()); ---- == Parameters [cols="1,4"] |=== | Name| Description | *init* | The initializer list of elements. | *reservation_size* | The number of elements to reserve space for. | *hash* | The hash functor to use. | *eq* | The key equality functor to use. | *alloc* | The allocator to use. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#