TSDuck v3.40-4033
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
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...

#include <tsIntegerUtils.h>

Public Types

using type = typename make_signed_impl< T, sizeof(T), std::integral< T >, std::signed_integral< T > >::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: