BloombergLP::bdlar::IsEnum

Meta-function indicating whether the specified t_TYPE is an enumeration type.

Synopsis

Declared in <bdlar_typecategory.h>

template<class t_TYPE>
struct IsEnum
    : BloombergLP::bdlat_EnumFunctions::IsEnumeration<t_TYPE>

Base Classes

NameDescription
BloombergLP::bdlat_EnumFunctions::IsEnumeration<t_TYPE>Meta-function that detects whether TYPE exposes enumeration behavior.

Type Aliases

NameDescription
type Alias for this integral_constant specialization.
value_type Alias for the (template parameter) t_TYPE.

Member Functions

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

Static Data Members

NameDescription
value The compile-time constant value of this metafunction.