std::numeric_limits::is_signed
Da cppreference.com.
|
|
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
<metanoindex/>
<tbody> </tbody> static const bool is_signed |
(fino al c++11) | |
static constexpr bool is_signed |
(dal C++11) | |
Il valore di
std::numeric_limits<T>::is_signed è true per tutti i tipi aritmetici firmati T e false per i tipi senza segno. Questa costante è significativo per tutte le specializzazioni.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.
Specializzazioni standard
T
|
valore di
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
|
implementazione definita
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
|
implementazione definita
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
|
Vedi anche
(C++11) |
Verifica se un tipo è firmata tipo integer Original: checks if a type is signed integer type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe template) |
[statico] |
identifica i tipi interi Original: identifies integer types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (pubblico membro statico costante) |
[statico] |
identifica i tipi esatti Original: identifies exact types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (pubblico membro statico costante) |
[statico] |
identifies types that represent a finite set of values (pubblico membro statico costante) |