std::numeric_limits::is_integer - cppreference.com
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>
|
|
(fino al c++11) | |
|
|
(dal C++11) | |
Il valore di std::numeric_limits<T>::is_integer è true per tutti i tipi aritmetici interi T e false altrimenti. Questa costante è significativo per tutte le specializzazioni.
Original:
The value of std::numeric_limits<T>::is_integer is true for all integer arithmetic types T and false otherwise. 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.
Specializzazioni standard
T
|
valore di Original: value of The text has been machine-translated via Google Translate. |
| /* non-specialized */ | false
|
bool
|
true
|
char
|
true
|
signed char
|
true
|
unsigned char
|
true
|
wchar_t
|
true
|
char16_t
|
true
|
char32_t
|
true
|
short
|
true
|
unsigned short
|
true
|
int
|
true
|
unsigned int
|
true
|
long
|
true
|
unsigned long
|
true
|
long long
|
true
|
unsigned long long
|
true
|
float
|
false
|
double
|
false
|
long double
|
false
|
Vedi anche
(C++11) |
controlla se un tipo è di tipo integrale Original: checks if a type is integral type The text has been machine-translated via Google Translate. (classe template) [modifica] |
[statico] |
identifica i tipi di firma Original: identifies signed types The text has been machine-translated via Google Translate. (pubblico membro statico costante) [modifica] |
[statico] |
identifica i tipi esatti Original: identifies exact types The text has been machine-translated via Google Translate. (pubblico membro statico costante) [modifica] |
[statico] |
identifies types that represent a finite set of values (pubblico membro statico costante) [modifica] |