[#bsl-hash_set-2constructor-07c] = xref:bsl.adoc[bsl]::xref:bsl/hash_set.adoc[hash_set]::hash_set :relfileprefix: ../../ :mrdocs: Create a hash set with the specified hasher, equality predicate, and allocator. == Synopsis Declared in `<bslstp_hashset.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- hash_set( xref:bsl/hash_set/size_type.adoc[size_type] __n, xref:bsl/hash_set/hasher.adoc[hasher] const& __hf, xref:bsl/hash_set/key_equal.adoc[key_equal] const& __eql, xref:bsl/hash_set/allocator_type.adoc[allocator_type] const& __a = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#