|
FastArduino v1.10
C++ library to build fast but small Arduino/AVR projects
|
Find the smallest integral types, signed and unsigned, tha can hold a given value. More...
#include <fastarduino/types_traits.h>
Public Types | |
| using | UNSIGNED_TYPE = typename UnsignedInt< uint_size_in_val(VAL)>::UTYPE |
The smallest unsigned integral type that can hold VAL. More... | |
| using | SIGNED_TYPE = typename UnsignedInt< uint_size_in_val(VAL)>::STYPE |
The smallest signed integral type that can hold VAL. More... | |
Find the smallest integral types, signed and unsigned, tha can hold a given value.
| VAL | the integral value for which to find the smallest size integral types |
Definition at line 167 of file types_traits.h.
| using types_traits::SmallestInt< VAL >::UNSIGNED_TYPE = typename UnsignedInt<uint_size_in_val(VAL)>::UTYPE |
The smallest unsigned integral type that can hold VAL.
Definition at line 170 of file types_traits.h.
| using types_traits::SmallestInt< VAL >::SIGNED_TYPE = typename UnsignedInt<uint_size_in_val(VAL)>::STYPE |
The smallest signed integral type that can hold VAL.
Definition at line 172 of file types_traits.h.