[#bsl-function-0a-2constructor-0d] = xref:bsl.adoc[bsl]::xref:bsl/function-0a.adoc[function]::function :relfileprefix: ../../ :mrdocs: Create a `function` having the same value as the specified `original` object, using the specified `allocator` to supply memory. == 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:bsl/function-0a.adoc[function] const& original); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#