BloombergLP::bdlf::Overloaded_NoexceptFunctionPointer

Overloaded_NoexceptFunctionPointer wraps a function pointer. It is implicitly constructible from the pointer, and provides an operator() method that calls through to the underlying function.

Synopsis

Declared in <bdlf_overloaded.h>

template<
    class RET,
    class... ARGS>
struct Overloaded_NoexceptFunctionPointer;

Type Aliases

NameDescription
FpType Alias for a free function pointer of the given signature.

Member Functions

NameDescription
Overloaded_NoexceptFunctionPointer [constructor]Construct this object from the specified f.
operator() Call the function passed to the constructor with the specified args.

Data Members

NameDescription
d_fp Free function pointer of the given signature.