[#bsl-hash_set-2constructor-09]
= xref:bsl.adoc[bsl]::xref:bsl/hash_set.adoc[hash&lowbar;set]::hash&lowbar;set
:relfileprefix: ../../
:mrdocs:

Create a hash set from the specified iterator range&period;

== Synopsis

Declared in `&lt;bslstp&lowbar;hashset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class &lowbar;InputIterator&gt;
hash&lowbar;set(
    &lowbar;InputIterator &lowbar;&lowbar;f,
    &lowbar;InputIterator &lowbar;&lowbar;l,
    xref:bsl/hash_set/size_type.adoc[size&lowbar;type] &lowbar;&lowbar;n,
    xref:bsl/hash_set/hasher.adoc[hasher] const& &lowbar;&lowbar;hf);
----


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