This templated utility provides methods to construct an ENTRY and a method to extract the key from an ENTRY.
Declared in <bdlc_flathashmap.h>
template<
class KEY,
class VALUE,
class ENTRY>
struct FlatHashMap_EntryUtil;
| Name | Description |
|---|---|
construct | Load into the specified entry the ENTRY value constructed from specified args, using the specified allocator to supply memory. allocator is ignored if the (template parameter) type ENTRY is not allocator aware. |
constructFromKey | 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. |
key | Return the key of the specified entry. |