[#bsl-function-0a-2constructor-03b1]
= xref:bsl.adoc[bsl]::xref:bsl/function-0a.adoc[function]::function
:relfileprefix: ../../
:mrdocs:

Create an empty `function` object using the specified `allocator` (e&period;g&period;, the address of a `bslma&colon;&colon;Allocator` object) to supply memory&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;function&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
function(
    std::allocator&lowbar;arg&lowbar;t,
    xref:bsl/function-0a/allocator_type.adoc[allocator&lowbar;type] const& allocator) noexcept;
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
