iceoryx_hoofs 2.0.6
Loading...
Searching...
No Matches
iox::cxx::BestFittingType< Value > Struct Template Reference

get the best fitting unsigned integer type for a given value at compile time More...

#include <iceoryx_hoofs/cxx/helplets.hpp>

Public Types

using Type_t
 ignore the warnings because we need the comparisons to find the best fitting type
 

Detailed Description

template<uint64_t Value>
struct iox::cxx::BestFittingType< Value >

get the best fitting unsigned integer type for a given value at compile time

Member Typedef Documentation

◆ Type_t

template<uint64_t Value>
using iox::cxx::BestFittingType< Value >::Type_t
Initial value:
typename internal::BestFittingTypeImpl<(Value > std::numeric_limits<uint8_t>::max()),
(Value > std::numeric_limits<uint16_t>::max()),
(Value > std::numeric_limits<uint32_t>::max())>::Type_t
typename internal::BestFittingTypeImpl<(Value > std::numeric_limits< uint8_t >::max()),(Value > std::numeric_limits< uint16_t >::max()),(Value > std::numeric_limits< uint32_t >::max())>::Type_t Type_t
ignore the warnings because we need the comparisons to find the best fitting type
Definition helplets.hpp:227

ignore the warnings because we need the comparisons to find the best fitting type


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