|
BDE 4.14.0 Production release
|
#include <bdlc_flathashmap.h>
Static Public Member Functions | |
| template<class... ARGS> | |
| static void | construct (ENTRY *entry, bslma::Allocator *allocator, ARGS &&... args) |
| template<class KEY_TYPE > | |
| static void | constructFromKey (ENTRY *entry, bslma::Allocator *allocator, BSLS_COMPILERFEATURES_FORWARD_REF(KEY_TYPE) key) |
| static const KEY & | key (const ENTRY &entry) |
Return the key of the specified entry. | |
This templated utility provides methods to construct an ENTRY and a method to extract the key from an ENTRY.
|
inlinestatic |
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.
|
inlinestatic |
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.
|
inlinestatic |