[#BloombergLP-bdlf-Bind_MemFnObjectWrapper]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlf.adoc[bdlf]::Bind&lowbar;MemFnObjectWrapper
:relfileprefix: ../../
:mrdocs:

This local class wraps an object used to invoke a bound member function&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class t&lowbar;TYPE&gt;
class Bind&lowbar;MemFnObjectWrapper;
----

== Description

In explicit binding, the argument types of `operator()` are determined during `Bind` instantiation&period; If a member function is bound and the object is passed as an invocation argument, the exact type of the object — whether it is a pointer or reference — cannot be determined from the method signature&period; This wrapper serves as an intermediate type around the object pointer or reference and is declared to have pointer semantics so `MemFn` can dereference it&period;

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlf/Bind_MemFnObjectWrapper/2constructor-0f.adoc[`Bind&lowbar;MemFnObjectWrapper`]         [.small]#[constructor]#
| Constructors
| xref:BloombergLP/bdlf/Bind_MemFnObjectWrapper/operator_star.adoc[`operator&ast;`] 
| Returns a reference to the object (of parameterized `TYPE`) pointed to by this `Bind&lowbar;MemFnObjectWrapper`&period;
| xref:BloombergLP/bdlf/Bind_MemFnObjectWrapper/2conversion-0e.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;Bind&lowbar;MemFnObjectWrapper, HasPointerSemantics&gt;`] 
| Declare that this type has pointer semantics&period;
| xref:BloombergLP/bdlf/Bind_MemFnObjectWrapper/2conversion-04.adoc[`operator BloombergLP::bslmf::NestedTraitDeclaration&lt;Bind&lowbar;MemFnObjectWrapper, IsBitwiseMoveable&gt;`] 
| Declare that this type is bitwise moveable&period;
|===



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