bsl::is_class

This struct template implements the is_class meta-function defined in the C++11 standard [meta.unary.cat]to determine if the (template parameter) t_TYPE is a class. Note that for implementations without native library support, this component will mis-diagnose union types as classes. This would be correct according to the core language definition of a class type, but is an error according to the standard library definition of this type trait.

Synopsis

Declared in <bslmf_isclass.h>

template<class t_TYPE>
struct is_class
    : /* implementation-defined */::type

Base Classes

NameDescription
/* implementation-defined */::type