std::numeric_limits::is_signed
Aus cppreference.com
< cpp | types | numeric limits
![]() | This page has been machine-translated from the English version of the wiki using Google Translate. The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
staticconstbool is_signed | (bis C + +11) | |
staticconstexprbool is_signed | (seit C++11) | |
Der Wert der std::numeric_limits<T>::is_signed ist true für alle vorzeichenbehaftete arithmetische Typen
T
und false für die vorzeichenlose Typen. Diese Konstante ist sinnvoll für alle Spezialisierungen .Original:
The value of std::numeric_limits<T>::is_signed is true for all signed arithmetic types
T
and false for the unsigned types. 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.
[Bearbeiten]Standard Spezialisierungen
T | Wert std::numeric_limits<T>::is_signed Original: value of std::numeric_limits<T>::is_signed 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 | false |
char | Implementierung definiert Original: implementation-defined The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
signedchar | true |
unsignedchar | false |
wchar_t | Implementierung definiert Original: implementation-defined The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
char16_t | false |
char32_t | false |
short | true |
unsignedshort | false |
int | true |
unsignedint | false |
long | true |
unsignedlong | false |
longlong | true |
unsignedlonglong | false |
float | true |
double | true |
longdouble | true |
[Bearbeiten]Siehe auch
(C++11) | prüft, ob ein Typ Integer unterzeichnet Original: checks if a type is signed integer 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) |
[statisch] | identifiziert Integer-Typen Original: identifies integer 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) |
[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) |
[statisch] | identifies types that represent a finite set of values (public static Mitglied konstanten) |