std::make_signed
提供:cppreference.com
|
|
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. |
| Defined in header <type_traits>
|
||
| template< class T > struct make_signed; |
(C + + 11以来) | |
与えられた整数型または列挙型
T、同じのcv-修飾子を使用して、typeに対応する符号付き整数型であるメンバのtypedefTを提供しています(ブール値を除く).Original:
Given an integral (except bool) or enumeration type
T, provides the member typedef type which is the signed integer type corresponding to T, with the same cv-qualifiers.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.
[編集] メンバータイプ
| 名前
Original: Name The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
type
|
Tに対応する符号付き整数型Original: the signed integer type corresponding to TThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 例
| This section is incomplete Reason: no example |
[編集] も参照してください
| (C++11) |
型が算術型を締結しているかどうかを確認する Original: checks if a type is signed arithmetic type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
| (C++11) |
タイプかどうかをチェックするには、符号なし算術型である Original: checks if a type is unsigned arithmetic type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |
| (C++11) |
与えられた整数型は符号なしになります Original: makes the given integral type unsigned The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラステンプレート) |