Define the smaller unsigned integer type with at least a given number of bits.
More...
#include <tsIntegerUtils.h>
|
using | type = typename std::conditional< BITS<=8, uint8_t, typename std::conditional< BITS<=16, uint16_t, typename std::conditional< BITS<=32, uint32_t, typename std::conditional< BITS<=64, uint64_t, void >::type >::type >::type >::type |
| The smaller unsigned integer type with at list BITS bits.
|
|
template<const size_t BITS>
struct ts::smaller_unsigned< BITS >
Define the smaller unsigned integer type with at least a given number of bits.
- Template Parameters
-
BITS | Minimum number of bits. Must be in the range 0 to 64. |
The documentation for this struct was generated from the following file: