The class Overloaded_ConstNoexceptMemberFunctionPointer 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.

Synopsis

Declared in <bdlf_overloaded.h>

template<
    class OBJ,
    class RET,
    class... ARGS>
struct Overloaded_ConstNoexceptMemberFunctionPointer;

Type Aliases

Name

Description

FpType

Alias for a member function pointer of the given signature.

Member Functions

Name

Description

Overloaded_ConstNoexceptMemberFunctionPointer [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.

Data Members

Name

Description

d_fp

Member function pointer of the given signature.

Created with MrDocs