BloombergLP::bslmf::FunctionPointerTraits

This class gives information about the specified t_PROTOTYPE. The general definition gives no information, but specializations for function pointers types define nested types ResultType, ArgumentList, and Linkage.

Synopsis

Declared in <bslmf_functionpointertraits.h>

template<class t_PROTOTYPE>
struct FunctionPointerTraits;

Enums

NameDescription
Unnamed enum Compile-time flag indicating whether t_PROTOTYPE is a function pointer.

Specializations

NameDescription
FunctionPointerTraits<t_PROTOTYPE volatile*> This class gives information about the specified t_PROTOTYPE. The general definition gives no information, but specializations for function pointers types define nested types ResultType, ArgumentList, and Linkage.
FunctionPointerTraits<t_PROTOTYPE const*> This class gives information about the specified t_PROTOTYPE. The general definition gives no information, but specializations for function pointers types define nested types ResultType, ArgumentList, and Linkage.
FunctionPointerTraits<t_PROTOTYPE const volatile*> This class gives information about the specified t_PROTOTYPE. The general definition gives no information, but specializations for function pointers types define nested types ResultType, ArgumentList, and Linkage.
FunctionPointerTraits<t_BSLMF_RETURN(*)(t_ARGS...) noexcept> Specialization for function pointers that return t_BSLMF_RETURN and accept a fixed number of arguments
FunctionPointerTraits<t_BSLMF_RETURN(*)(t_ARGS..., ...) noexcept> Specialization for function pointers that return t_BSLMF_RETURN and accept variable (C-style varargs) number of arguments

Derived Classes

NameDescription
FunctionPointerTraits<t_PROTOTYPE const volatile*> This class gives information about the specified t_PROTOTYPE. The general definition gives no information, but specializations for function pointers types define nested types ResultType, ArgumentList, and Linkage.
FunctionPointerTraits<t_PROTOTYPE const*> This class gives information about the specified t_PROTOTYPE. The general definition gives no information, but specializations for function pointers types define nested types ResultType, ArgumentList, and Linkage.
FunctionPointerTraits<t_PROTOTYPE volatile*> This class gives information about the specified t_PROTOTYPE. The general definition gives no information, but specializations for function pointers types define nested types ResultType, ArgumentList, and Linkage.