description | title | ms.date | f1_keywords | helpviewer_keywords | ms.assetid | |||
---|---|---|---|---|---|---|---|---|
Learn more about: make_signed Class |
make_signed Class |
11/04/2016 |
|
|
686247c0-247c-496b-9b1b-ba9dcd633621 |
Makes type or the smallest signed type greater than or equal in size to type.
template <class T>
struct make_signed;
template <class T>
using make_signed_t = typename make_signed<T>::type;
T
The type to modify.
An instance of the type modifier holds a modified-type that is T if is_signed<T>
holds true. Otherwise it is the smallest unsigned type UT
for which sizeof (T) <= sizeof (UT)
.
Header: <type_traits>
Namespace: std