std::numeric_limits::is_integer
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_integer |
(fino al c++11) | |
static constexpr bool is_integer |
(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.
You can help to correct and verify the translation. Click here for instructions.
Specializzazioni standard
T
|
valore di
std::numeric_limits<T>::is_integer Original: value of std::numeric_limits<T>::is_integer 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
|
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. You can help to correct and verify the translation. Click here for instructions. (classe template) |
[statico] |
identifica i tipi di firma Original: identifies signed 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) |