[#BloombergLP-bdlc-FlatHashSet_EntryUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::FlatHashSet&lowbar;EntryUtil
:relfileprefix: ../../
:mrdocs:

This templated utility provides methods to construct an `ENTRY` and a method to extract the key from an `ENTRY` (which is, identically, the `ENTRY`)&period;

== Synopsis

Declared in `&lt;bdlc&lowbar;flathashset&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class ENTRY&gt;
struct FlatHashSet&lowbar;EntryUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlc/FlatHashSet_EntryUtil/construct.adoc[`construct`] 
| Load into the specified `entry` the `ENTRY` value constructed from specified `args`, using the specified `allocator` to supply memory&period; `allocator` is ignored if the (template parameter) type `ENTRY` is not allocator aware&period;
| xref:BloombergLP/bdlc/FlatHashSet_EntryUtil/constructFromKey.adoc[`constructFromKey`] 
| Load into the specified `entry` the `ENTRY` value comprised of the specified `key`, using the specified `allocator` to supply memory&period; `allocator` is ignored if the (template parameter) type `ENTRY` is not allocator aware&period;
| xref:BloombergLP/bdlc/FlatHashSet_EntryUtil/key.adoc[`key`] 
| Return the specified `entry`&period;
|===



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