modm API documentation
modm::fits_any< Ts > Struct Template Reference

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

Public Typedefs

using type = std::conditional_t< std::conjunction_v< std::is_unsigned< Ts >... >, typename uint_t< most_dig >::least, std::make_signed_t< typename uint_t< most_dig%2?most_dig:most_dig *2 >::least > >
 

Static Public Attributes

static constexpr int most_dig = detail::most_digits<Ts...>()
 

Detailed Description

template<typename... Ts>
struct modm::fits_any< Ts >

Trait the smallest integral - signed or unsigned - fitting any Ts

Author
Thomas Sommer

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