Bilješka
Pristup ovoj stranici zahtijeva provjeru vjerodostojnosti. Možete pokušati da se prijavite ili promijenite direktorije.
Pristup ovoj stranici zahtijeva provjeru vjerodostojnosti. Možete pokušati promijeniti direktorije.
Makes type or the smallest signed type greater than or equal in size to type.
Syntax
template <class T>
struct make_signed;
template <class T>
using make_signed_t = typename make_signed<T>::type;
Parameters
T
The type to modify.
Remarks
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)
.
Requirements
Header: <type_traits>
Namespace: std