make overloads

Synopses

Declared in <bslma_constructionutil.h>

Return a default‐constructed TARGET_TYPE object.

template<
    class TARGET_TYPE,
    class ALLOCATOR>
static
TARGET_TYPE
make(ALLOCATOR const& allocator);

Return a TARGET_TYPE object constructed from the given arguments.

template<
    class TARGET_TYPE,
    class ALLOCATOR,
    class ARG1,
    class... ARGS>
static
TARGET_TYPE
make(
    ALLOCATOR const& allocator,
    ARG1&& argument1,
    ARGS&&... arguments);

Return Value

  • default‐constructed TARGET_TYPE object

  • TARGET_TYPE object constructed from the given arguments

Parameters

Name

Description

allocator

allocator supplied to the constructor, if applicable

argument1

first constructor argument

arguments

remaining constructor arguments

Created with MrDocs