◐ Shell
clean mode source ↗

std::numeric_limits::is_integer – cppreference.com

Aus cppreference.com

<metanoindex/>

<tbody> </tbody>

static const bool is_integer

(bis C + +11)

static constexpr bool is_integer

(seit C++11)

Der Wert der std::numeric_limits<T>::is_integer ist true für alle Integer-Arithmetik Typen T und false anders. Diese Konstante ist sinnvoll für alle Spezialisierungen .

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.

Standard Spezialisierungen

T

Wert 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

Siehe auch

prüft, ob ein Typ ist integraler Typ

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.


(Klassen-Template) [edit]

[statisch]

identifiziert unterzeichnet Typen

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.


(public static Mitglied konstanten) [edit]

[statisch]

identifiziert genauen Typen

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.


(public static Mitglied konstanten) [edit]

[statisch]

identifies types that represent a finite set of values
(public static Mitglied konstanten) [edit]