check_enum_size< T > Struct Template Reference

Public Types

using type_limits = std::numeric_limits< std::underlying_type_t< T > >
 
using int_limits = std::numeric_limits< int32_t >
 

Static Public Attributes

static constexpr bool value
 

Member Data Documentation

◆ value

template<typename T >
constexpr bool check_enum_size< T >::value
staticconstexpr
Initial value:
= type_limits::min() >= int_limits::min()
&& type_limits::max() <= int_limits::max()

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