TSDuck  v3.33-3080
MPEG Transport Stream Toolkit
ts::make_signed< T > Struct Template Reference

The meta-type ts::make_signed is a generalization of std::make_signed which works on floating point-types as well. More...

Public Types

typedef make_signed_impl< T, sizeof(T), std::is_signed< T >::value >::type type
 The equivalent signed type.
 

Detailed Description

template<typename T>
struct ts::make_signed< T >

The meta-type ts::make_signed is a generalization of std::make_signed which works on floating point-types as well.

The signed type of a floating-point type or a signed integer type is the type itself. The signed type of an unsigned integer type is the signed type with the immediately larger size.

Template Parameters
TAn integral or floating-point type.

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