SmallestSignedTypeSelector< value > Struct Template Reference
Type trait to select smallest signed integer type that can store value
.
More...
#include <SmallestSignedTypeSelector.h>
Public Types | |
typedef if_select_type < (static_cast< int8_t >value)==value), int8_t, typename if_select_type< (static_cast < int16_t >value)==value), int16_t, typename if_select_type< (static_cast < int32_t >value)==value), int32_t, int64_t >::type > ::type >::type | type |
Detailed Description
template<int64_t value>
struct SmallestSignedTypeSelector< value >
Type trait to select smallest signed integer type that can store value
.
Member Typedef Documentation
template<int64_t value>
typedef if_select_type< (static_cast<int8_t>value) == value), int8_t, typename if_select_type< (static_cast<int16_t>value) == value), int16_t, typename if_select_type< (static_cast<int32_t>value) == value), int32_t, int64_t >::type >::type >::type SmallestSignedTypeSelector< value >::type |
The documentation for this struct was generated from the following file:
- include/config/type_traits/SmallestSignedTypeSelector.h