modm API documentation
modm::uint_t< Bits > Struct Template Reference

#include <modm/math/utils/integer_traits.hpp>

Public Typedefs

using least = std::conditional_t< (Bits<=8), uint8_t, std::conditional_t< (Bits<=16), uint16_t, std::conditional_t< (Bits<=32), uint32_t, std::enable_if_t< (Bits<=64), uint64_t > >> >
 

Detailed Description

template<int Bits>
struct modm::uint_t< Bits >

Trait the smallest unsigned type that fits n Bits

Author
Thomas Sommer

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