TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::int_max< INT > Struct Template Reference

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::signed_integral< INT > >::type
 The integer type with the same signedness and largest width.
 

Detailed Description

template<typename INT>
requires std::integral<INT>
struct ts::int_max< INT >

The meta-type ts::int_max selects the integer type with largest width and same signedness as another integer type.

Template Parameters
INTAn integer type, any size, signed or unsigned.

Member Typedef Documentation

◆ type

template<typename INT >
using ts::int_max< INT >::type = typename int_max_impl<std::signed_integral<INT> >::type

The integer type with the same signedness and largest width.

In practice, it is either std::uintmax_t or std::intmax_t.


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