TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
The meta-type ts::int_max selects the integer type with largest width and same signedness as another integer type. More...
#include <tsIntegerUtils.h>
Public Types | |
using | type = typename int_max_impl< std::is_signed< INT >::value >::type |
The integer type with the same signedness and largest width. | |
The meta-type ts::int_max selects the integer type with largest width and same signedness as another integer type.
INT | An integer type, any size, signed or unsigned. |
using ts::int_max< INT, type >::type = typename int_max_impl<std::is_signed<INT>::value>::type |
The integer type with the same signedness and largest width.
In practice, it is either std::uintmax_t
or std::intmax_t
.