Export (0) Print
Expand All
Expand Minimize

make_signed Class

Makes type or the smallest signed type greater than or equal in size to type.

template<class Ty>
    struct make_signed;

Ty

The type to modify.

An instance of the type modifier holds a modified-type that is Ty if is_signed<Ty> holds true. Otherwise it is the smallest unsigned type UTy for which sizeof (Ty) <= sizeof (UTy).

Header: <type_traits>

Namespace: std

Show:
© 2015 Microsoft