BloombergLP::bdlf::Bind_MemFnObjectWrapper::Bind_MemFnObjectWrapper

Create a wrapper around the specified object instance.

Synopsis

Declared in <bdlf_bind.h>

template<class t_ARG_TYPE>
Bind_MemFnObjectWrapper(t_ARG_TYPE& object);

Description

If the constructor argument has pointer semantics to t_TYPE, perform &* on it to initialize d_object_p; otherwise take its address. Note that t_TYPE and/or t_ARG_TYPE may be const, though a compilation error will result if t_ARG_TYPE is const and t_TYPE is not.

Parameters

NameDescription
objectobject or pointer-like object to wrap