Quick Links:

bal | bbl | bdl | bsl

Static Public Member Functions

bdlc::FlatHashMap_EntryUtil< KEY, VALUE, ENTRY > Struct Template Reference

#include <bdlc_flathashmap.h>

List of all members.

Static Public Member Functions

template<class KEY_TYPE >
static void construct (ENTRY *entry, bslma::Allocator *allocator, BSLS_COMPILERFEATURES_FORWARD_REF(KEY_TYPE) key)
static const KEY & key (const ENTRY &entry)

template<class KEY, class VALUE, class ENTRY>
struct bdlc::FlatHashMap_EntryUtil< KEY, VALUE, ENTRY >


Member Function Documentation

template<class KEY , class VALUE , class ENTRY >
template<class KEY_TYPE >
static void bdlc::FlatHashMap_EntryUtil< KEY, VALUE, ENTRY >::construct ( ENTRY *  entry,
bslma::Allocator allocator,
BSLS_COMPILERFEATURES_FORWARD_REF(KEY_TYPE)  key 
) [static]

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.

template<class KEY , class VALUE , class ENTRY >
static const KEY& bdlc::FlatHashMap_EntryUtil< KEY, VALUE, ENTRY >::key ( const ENTRY &  entry  )  [static]

Return the key of the specified entry.


The documentation for this struct was generated from the following file: