ADTF  3.18.2
underlying_type_or_type< T, bool >

Retrieves the underlying type if T is an enum, otherwise the type itself. More...

Public Types

using type = T
 The type of the underlying type retrieved.
 

Detailed Description

template<typename T, bool = std::is_enum_v<T>>
struct a_util::underlying_type_or_type< T, bool >

Retrieves the underlying type if T is an enum, otherwise the type itself.

Template Parameters
TThe type tor retrieve the underlying type from
is_enumvalue to determine if T is an enum

Definition at line 62 of file type_traits.h.