make_signed Class

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

template<class Ty>
    struct make_signed;

Parameters

  • Ty
    The type to modify.

Remarks

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).

Requirements

Header: <type_traits>

Namespace: std

See Also

Reference

<type_traits>