[#absl-linked_hash_set-2constructor-002]
= xref:absl.adoc[absl]::xref:absl/linked_hash_set.adoc[linked&lowbar;hash&lowbar;set]::linked&lowbar;hash&lowbar;set
:relfileprefix: ../../
:mrdocs:

Constructs a set from the range `&lsqb;first, last)&rsqb;`&period;

== Synopsis

Declared in `&lt;absl&sol;container&sol;linked&lowbar;hash&lowbar;set&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class InputIter&gt;
linked&lowbar;hash&lowbar;set(
    InputIter first,
    InputIter last,
    size&lowbar;t reservation&lowbar;size,
    xref:absl/linked_hash_set/hasher.adoc[hasher] const& hash,
    xref:absl/linked_hash_set/allocator_type.adoc[allocator&lowbar;type] const& alloc);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *first*
| Iterator to the first element in the range&period;
| *last*
| Iterator past the last element in the range&period;
| *reservation&lowbar;size*
| The number of elements to reserve space for&period;
| *hash*
| The hash functor to use&period;
| *alloc*
| The allocator to use&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
