Create a function with a copy of the target held by original.
Synopsis
Declared in <bslstl_function.h>
function(function const& original);
Description
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.
Parameters
Name |
Description |
original |
function whose target is copied |
Created with MrDocs