defaultConstruct overloads

Synopses

Declared in <bslalg_scalarprimitives.h>

Default‐construct a TARGET_TYPE at the specified address.

template<class TARGET_TYPE>
static
void
defaultConstruct(
    TARGET_TYPE* address,
    bslma::Allocator* allocator);

Same as the preceding overload, ignoring allocator.

template<class TARGET_TYPE>
static
void
defaultConstruct(
    TARGET_TYPE* address,
    void* allocator);

Parameters

Name

Description

address

address of uninitialized storage

allocator

allocator to use if the type uses an allocator

Created with MrDocs