◐ Shell
clean mode source ↗

std::numeric_limits::is_integer - cppreference.com

De cppreference.com

Esta página se ha traducido por ordenador/computador/computadora de la versión en inglés de la Wiki usando Google Translate.

La traducción puede contener errores y palabras aparatosas/incorrectas. Planea sobre el texto para ver la versión original. Puedes ayudar a corregir los errores y mejorar la traducción. Para instrucciones haz clic aquí.

static const bool is_integer

(hasta C++11)

static constexpr bool 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.

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
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

Ver también

Comprueba si un tipo T es entero.
(plantilla de clase) [editar]

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]

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]
identifies types that represent a finite set of values
(constante miembro pública estática) [editar]