[#BloombergLP-bdlc-FlatHashMap_EntryUtil-constructFromKey] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlc.adoc[bdlc]::xref:BloombergLP/bdlc/FlatHashMap_EntryUtil.adoc[FlatHashMap_EntryUtil]::constructFromKey :relfileprefix: ../../../ :mrdocs: Load into the specified `entry` the `ENTRY` value comprised of the specified `key` and a default constructed `VALUE`, using the specified `allocator` to supply memory. `allocator` is ignored if the (template parameter) type `ENTRY` is not allocator aware. == Synopsis Declared in `<bdlc_flathashmap.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class KEY_TYPE> static void constructFromKey( ENTRY* entry, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator, KEY_TYPE&& key); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#