|
BDE 4.14.0 Production release
|
#include <bdlc_flathashset.h>
Public Member Functions | |
| template<class KEY > | |
| void | constructFromKey (ENTRY *entry, bslma::Allocator *allocator, BSLS_COMPILERFEATURES_FORWARD_REF(KEY) key) |
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 ENTRY & | key (const ENTRY &entry) |
Return the specified entry. | |
This templated utility provides methods to construct an ENTRY and a method to extract the key from an ENTRY (which is, identically, the 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.
|
inline |
|
static |
Load into the specified entry the ENTRY value comprised of the specified key, using the specified allocator to supply memory. allocator is ignored if the (template parameter) type ENTRY is not allocator aware.
|
inlinestatic |