std::numeric_limits::is_signed
提供: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. |
| static const bool is_signed |
(C + + 11時まで) | |
| static constexpr bool is_signed |
(C + + 11以来) | |
std::numeric_limits<T>::is_signedの値は、すべての署名算術型trueと
Tためのunsigned型のためfalseです。この定数は、すべての専門分野のために意味がある.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.
[編集] 標準の専門分野
T
|
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 | 実装定義である
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. |
| signed char | true |
| unsigned char | false |
| wchar_t | 実装定義である
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 |
| unsigned short | false |
| int | true |
| unsigned int | false |
| long | true |
| unsigned long | false |
| long long | true |
| unsigned long long | false |
| float | true |
| double | true |
| long double | true |
[編集] も参照してください
| (C++11) |
チェックタイプが整数タイプを署名されている場合 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. (クラステンプレート) |
| [静的] |
整数型を識別します 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. (公共の静的メンバ定数) |
| [静的] |
正確なタイプを識別します 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. (公共の静的メンバ定数) |
| [静的] |
identifies types that represent a finite set of values (公共の静的メンバ定数) |