std::numeric_limits::is_signed
De cppreference.com
<metanoindex/>
<tbody> </tbody> static const bool is_signed |
(até C++11) | |
static constexpr bool is_signed |
(desde C++11) | |
O valor da
std::numeric_limits<T>::is_signed é true para todos os tipos aritméticos assinados T e false para os tipos não assinados. Esta constante é significativo para todas as especializações.Original:
The value of
std::numeric_limits<T>::is_signed is true for all signed arithmetic types T and false for the unsigned types. This constant is meaningful for all specializations.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Especializações padrão
T
|
valor de
std::numeric_limits<T>::is_signed Original: value of std::numeric_limits<T>::is_signed The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
| /* non-specialized */ | false
|
bool
|
false
|
char
|
definida pela implementação
Original: implementation-defined The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
signed char
|
true
|
unsigned char
|
false
|
wchar_t
|
definida pela implementação
Original: implementation-defined The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
char16_t
|
false
|
char32_t
|
false
|
short
|
true
|
unsigned short
|
false
|
int
|
true
|
unsigned int
|
false
|
long
|
true
|
unsigned long
|
false
|
long long
|
true
|
unsigned long long
|
false
|
float
|
true
|
double
|
true
|
long double
|
true
|
