description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | |||
---|---|---|---|---|---|---|---|---|
Learn more about: make_unsigned Class | make_unsigned Class | 11/04/2016 |
|
| 7a6a3c4f-1a4c-47e8-9ee2-ac1f7b669353 |
Makes type or the smallest unsigned type greater than or equal in size to type.
template <classT> structmake_unsigned; template <classT> usingmake_unsigned_t = typename make_unsigned<T>::type;
T
The type to modify.
An instance of the type modifier holds a modified-type that is T if is_unsigned<T>
holds true. Otherwise it is the smallest signed type ST
for which sizeof (T) <= sizeof (ST)
.
Header: <type_traits>
Namespace: std