std::numeric_limits::is_integer
Da cppreference.com.
< cpp | types | numeric limits
![]() | 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. |
staticconstbool is_integer | (fino al c++11) | |
staticconstexprbool 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.
[modifica]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 |
signedchar | true |
unsignedchar | true |
wchar_t | true |
char16_t | true |
char32_t | true |
short | true |
unsignedshort | true |
int | true |
unsignedint | true |
long | true |
unsignedlong | true |
longlong | true |
unsignedlonglong | true |
float | false |
double | false |
longdouble | false |
[modifica]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) |