Create an empty function using the specified allocator.

Synopsis

Declared in <bslstl_function.h>

function(
    std::allocator_arg_t allocatorArg,
    allocator_type const& allocator) noexcept;

Description

Create an empty function object using the specified allocator (e.g., the address of a bslma::Allocator object) to supply memory.

Parameters

Name

Description

allocatorArg

allocator‐argument tag (unused)

allocator

allocator used to supply memory

Created with MrDocs