[#bsl-function-0a-2constructor-03bb] = xref:bsl.adoc[bsl]::xref:bsl/function-0a.adoc[function]::function :relfileprefix: ../../ :mrdocs: Create a `function` having the same value as (i.e., wrapping a copy of the target held by) the specified `original` object. Use the specified `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory. If `allocator == original.allocator()`, this object is created as if by move construction; otherwise it is created as if by extended copy construction using `allocator`. == Synopsis Declared in `<bslstl_function.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- function( std::allocator_arg_t, xref:bsl/function-0a/allocator_type.adoc[allocator_type] const& allocator, xref:BloombergLP/bslmf/MovableRef.adoc[BloombergLP::bslmf::MovableRef<function>] original); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#