The class Overloaded_NoexceptMemberFunctionPointer wraps a member function pointer. It is implicitly constructible from the pointer, and provides an operator() that takes an object of the appropriate type and other arguments, and forwards them on to the underlying function.
Declared in <bdlf_overloaded.h>
template<
class OBJ,
class RET,
class... ARGS>
struct Overloaded_NoexceptMemberFunctionPointer;
| Name | Description |
|---|---|
FpType | Alias for a member function pointer of the given signature. |
| Name | Description |
|---|---|
Overloaded_NoexceptMemberFunctionPointer [constructor] | Construct this object from the specified f. |
operator() | Call the member function passed to the constructor using the specified obj with the specified args, and return the result of the call. |
| Name | Description |
|---|---|
d_fp | Member function pointer of the given signature. |