BloombergLP::bslmf::IsFunctionPointer

This template determines if the specified t_PROTOTYPE is a free (i.e., non-member) function pointer. value is defined as 1 if the specified t_PROTOTYPE is a function pointer type, and a zero value otherwise.

Synopsis

Declared in <bslmf_functionpointertraits.h>

template<class t_PROTOTYPE>
struct IsFunctionPointer
    : bsl::integral_constant<bool, FunctionPointerTraits<t_PROTOTYPE>::IS_FUNCTION_POINTER>

Base Classes

NameDescription
bsl::integral_constant<bool, FunctionPointerTraits<t_PROTOTYPE>::IS_FUNCTION_POINTER>Metafunction representing a compile-time constant of the specified (template parameter) t_TYPE with the specified (template parameter) t_VALUE.

Type Aliases

NameDescription
type Alias for this integral_constant specialization.
value_type

Member Functions

NameDescription
operator() Return a copy of the template argument t_VALUE.
operator value_type

Static Data Members

Name
value