Create a function having the same value as (i.e., wrapping a copy of the target held by) the specified original object. Optionally specify an allocator (e.g., the address of a bslma::Allocator object) to supply memory; otherwise, the default allocator is used.

Synopsis

Declared in <bslstl_function.h>

function(function const& original);

Created with MrDocs