Espacios de nombres
Variantes
Acciones

std::numeric_limits::is_integer

De cppreference.com
 
 
Biblioteca de servicios
 
Apoyo de tipos
Propiedades de tipos
(C++11)
(C++11)
(C++14)
(C++11)
(C++11)(hasta C++20)
(C++11)(en desuso en C++20)
(C++11)
Constantes de rasgos de tipos
Metafunciones
(C++17)
Contexto de evaluación constante
Operaciones soportadas
Relaciones y consultas de propiedades
Modificaciones de tipos
Transformaciones de tipos
(C++11)
(C++11)
(C++17)
(C++11)(hasta C++20)(C++17)
 
 
staticconstbool is_integer
(hasta C++11)
staticconstexprbool is_integer
(desde C++11)
El valor de std::numeric_limits<T>::is_integer es true para todos los tipos aritméticas de enteros T y false lo contrario. Esta constante es significativa para todas las especialidades .
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.

[editar]Especializaciones estándar

T
valor de 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
booltrue
chartrue
signedchartrue
unsignedchartrue
wchar_ttrue
char16_ttrue
char32_ttrue
shorttrue
unsignedshorttrue
inttrue
unsignedinttrue
longtrue
unsignedlongtrue
longlongtrue
unsignedlonglongtrue
floatfalse
doublefalse
longdoublefalse

[editar]Ver también

Comprueba si un tipo T es entero.
(plantilla de clase)[editar]
[estático]
identifica los tipos firmados
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.

(constante miembro pública estática)[editar]
[estático]
identifica los tipos exactos
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.

(constante miembro pública estática)[editar]
[estático]
identifies types that represent a finite set of values
(constante miembro pública estática)[editar]
close