This local class is used to wrap an object used to invoke a member functions bound to a Bind binder. In explicit binding, the argument types of operator() are determined during Bind instantiation. If a member function is bound to the binder, and the object to invoke the member function on is passed as an invocation argument (instead of a bound argument), the exact type of the object ‐ whether it is a pointer or reference ‐ cannot be determined based on the method signature. This wrapper serve as an intermediate type to wrap around the object pointer or reference. This class is declared to have pointer semantics, such that MemFn will properly dereference the object to invoke the member function.
Synopsis
Declared in <bdlf_bind.h>
template<class t_TYPE>
class Bind_MemFnObjectWrapper;
Member Functions
Name |
Description |
|
Constructors |
Returns a reference to the object (of parameterized |
|
|
|
|
Created with MrDocs