[#BloombergLP-bslstl-StopCallback_CallbackStorage-06-2constructor-04]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06.adoc[StopCallback&lowbar;CallbackStorage]::StopCallback&lowbar;CallbackStorage
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

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

Same as the preceding overload&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;ARG&gt;
xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06/2constructor-0c.adoc[StopCallback&lowbar;CallbackStorage](
    xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06/allocator_type.adoc[allocator&lowbar;type] const& allocator,
    t&lowbar;ARG& arg);
----

[.small]#xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06/2constructor-0c.adoc[_» more&period;&period;&period;_]#

Initialize the stored callback by forwarding the specified `arg` to the constructor of `t&lowbar;CALLBACK`&semi; the specified `allocator` is used to supply memory if `t&lowbar;CALLBACK` is allocator&hyphen;aware (and ignored otherwise)&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;ARG&gt;
xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06/2constructor-03.adoc[StopCallback&lowbar;CallbackStorage](
    xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06/allocator_type.adoc[allocator&lowbar;type] const& allocator,
    t&lowbar;ARG&& arg);
----

[.small]#xref:BloombergLP/bslstl/StopCallback_CallbackStorage-06/2constructor-03.adoc[_» more&period;&period;&period;_]#


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