TSDuck v3.38-3699
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::underlying_type< T > Struct Template Reference

The meta-type ts::underlying_type is a generalization of std::underlying_type which works on integer types as well. More...

#include <tsEnumUtils.h>

Public Types

using type = typename underlying_type_1< std::is_enum< T >::value, T >::type
 The underlying integer type.
 

Detailed Description

template<typename T>
struct ts::underlying_type< T >

The meta-type ts::underlying_type is a generalization of std::underlying_type which works on integer types as well.

The underlying type of an integer type is the type itself.

Template Parameters
TAn integral or enumeration type.

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