Quick Links:

bal | bbl | bdl | bsl

Public Types | Public Member Functions | Static Public Attributes

bsl::is_function< t_TYPE > Struct Template Reference

#include <bslmf_isfunction.h>

Inheritance diagram for bsl::is_function< t_TYPE >:
bsl::integral_constant< bool,!is_const< const t_TYPE >::value >

List of all members.

Public Types

typedef bool value_type
typedef integral_constant type

Public Member Functions

BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT

Static Public Attributes

static
BSLS_KEYWORD_CONSTEXPR_MEMBER
bool 
value

Detailed Description

template<class t_TYPE>
struct bsl::is_function< t_TYPE >

This struct template implements the is_function meta-function defined in the C++11 standard [meta.unary.cat] to determine if the (template parameter) t_TYPE is a function type. This struct derives from bsl::true_type if the t_TYPE is a function type, and from bsl::false_type otherwise. This implementation relies on the fact that neither function types nor reference types can be cv-qualified so that is_const<const t_TYPE> will actually yield false.

See Component bslmf_isfunction


Member Typedef Documentation

typedef bool bsl::integral_constant< bool , t_VAL >::value_type [inherited]
typedef integral_constant bsl::integral_constant< bool , t_VAL >::type [inherited]

Member Function Documentation

BSLS_KEYWORD_CONSTEXPR bsl::integral_constant< bool , t_VAL >::operator value_type (  )  const [inherited]

Return t_VAL.


Member Data Documentation

BSLS_KEYWORD_CONSTEXPR_MEMBER bool bsl::integral_constant< bool , t_VAL >::value [static, inherited]

The documentation for this struct was generated from the following file: