BloombergLP::bdlf::Overloaded_NoexceptFunctionPointer

Wrapper for a noexcept free function pointer.

Synopsis

Declared in <bdlf_overloaded.h>

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

Description

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.

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.