BloombergLP::bdlc::FlatHashSet_EntryUtil::construct

Construct an ENTRY in-place from the specified arguments.

Synopsis

Declared in <bdlc_flathashset.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

NameDescription
entryaddress at which to construct the entry
allocatorallocator used to supply memory
argsconstructor arguments forwarded to ENTRY