BDE 4.14.0 Production release
Loading...
Searching...
No Matches
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 >

Additional Inherited Members

- Public Types inherited from bsl::integral_constant< bool, !is_const< const t_TYPE >::value >
typedef bool value_type
 
typedef integral_constant type
 
- Public Member Functions inherited from bsl::integral_constant< bool, !is_const< const t_TYPE >::value >
 integral_constant ()=default
 
 integral_constant (const integral_constant &)=default
 
integral_constant operator= (const integral_constant &)=default
 
 ~integral_constant ()=default
 
BSLS_KEYWORD_CONSTEXPR operator value_type () const BSLS_KEYWORD_NOEXCEPT
 Return t_VAL.
 
- Static Public Attributes inherited from bsl::integral_constant< bool, !is_const< const t_TYPE >::value >
static const 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.


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