Construct an ENTRY in‐place at the specified entry.

Synopsis

Declared in <bdlc_flathashmap.h>

template<class... ARGS>
static
void
construct(
    ENTRY* entry,
    bslma::Allocator* allocator,
    ARGS&&... args);

Description

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.

Parameters

Name

Description

entry

address at which to construct the entry

allocator

allocator used to supply memory

args

arguments forwarded to the entry constructor

Created with MrDocs