Partager via


make_unsigned Class

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

template<class Ty>
    struct make_unsigned;

Parameters

Parameter

Description

Ty

The type to modify.

Remarks

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

Requirements

Header: <type_traits>

Namespace: std

See Also

Reference

<type_traits>