[#BloombergLP-bdlf-BindWrapper-2constructor-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::xref:BloombergLP/bdlf/BindWrapper.adoc[BindWrapper]::BindWrapper
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bdlf&lowbar;bind&period;h&gt;`

Create a wrapper that shares ownership of another wrapper&apos;s binder&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlf/BindWrapper/2constructor-09.adoc[BindWrapper](xref:BloombergLP/bdlf/BindWrapper.adoc[BindWrapper&lt;t&lowbar;RET, t&lowbar;FUNC, t&lowbar;BOUND&lowbar;TUPLE&gt;] const& original);
----

[.small]#xref:BloombergLP/bdlf/BindWrapper/2constructor-09.adoc[_» more&period;&period;&period;_]#

Create a wrapper that assumes ownership of another wrapper&apos;s binder&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlf/BindWrapper/2constructor-0412.adoc[BindWrapper](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;BindWrapper&lt;t&lowbar;RET, t&lowbar;FUNC, t&lowbar;BOUND&lowbar;TUPLE&gt;&gt;] original) noexcept;
----

[.small]#xref:BloombergLP/bdlf/BindWrapper/2constructor-0412.adoc[_» more&period;&period;&period;_]#

Create a shared wrapper around a binder for the given arguments&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlf/BindWrapper/2constructor-00.adoc[BindWrapper](
    bslmf::ForwardingType&lt;t&lowbar;FUNC&gt;::Type func,
    xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;t&lowbar;BOUND&lowbar;TUPLE&gt;] tuple,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator = 0);
----

[.small]#xref:BloombergLP/bdlf/BindWrapper/2constructor-00.adoc[_» more&period;&period;&period;_]#

Create a shared wrapper around a binder for the given arguments&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlf/BindWrapper/2constructor-0419.adoc[BindWrapper](
    bslmf::ForwardingType&lt;t&lowbar;FUNC&gt;::Type func,
    t&lowbar;BOUND&lowbar;TUPLE const& tuple,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* allocator = 0);
----

[.small]#xref:BloombergLP/bdlf/BindWrapper/2constructor-0419.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *original*
| wrapper whose binder is shared
| *func*
| invocable object to bind
| *tuple*
| bound&hyphen;argument tuple to move from
| *allocator*
| memory allocator&semi; null uses the default
|===


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