Create a function copying original using the specified allocator.

Synopsis

Declared in <bslstl_function.h>

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

Description

Create a function having the same value as the specified original object, using the specified allocator to supply memory.

Parameters

Name

Description

allocatorArg

allocator‐argument tag (unused)

allocator

allocator used to supply memory

original

function whose target is copied

Created with MrDocs