BloombergLP::bslma::ConstructionUtil::make

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);
» more...

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);
» more...

Return Value

  • default-constructed TARGET_TYPE object
  • TARGET_TYPE object constructed from the given arguments

Parameters

NameDescription
allocatorallocator supplied to the constructor, if applicable
argument1first constructor argument
argumentsremaining constructor arguments