std::type_info
提供: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 <typeinfo>
|
||
| class type_info; |
||
クラス
type_infoは、型の名前も含めて、その型に関する実装固有の情報を保持し、平等または照合順序のための2つのタイプを比較することを意味します。これはtypeid子によって戻されたクラスです。. Original:
The class
type_info holds implementation-specific information about a type, including the name of the type and means to compare two types for equality or collating order. This is the class returned by the typeid operator. 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.
type_infoクラスがあり、どちらもCopyConstructibleCopyAssignable. Original:
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.
[編集] メンバ関数
| (constructor) [削除された] |
has neither default nor copy constructors (パブリックメンバ関数) |
| [仮想] |
導出されたオブジェクトはポインタツーベースを削除しても安全です Original: derived objects are safe to delete through pointer-to-base The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (仮想パブリックメンバ関数) |
| operator= [削除された] |
コピー代入することはできません Original: can not be copy-assigned The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) |
| checks whether the objects refer to the same type (パブリックメンバ関数) | |
| 呼ばれるタイプは、実装、すなわち受注呼ぶタイプの順序を定義した内の別のオブジェクトの type_index呼ばれるタイプの前にいるかどうかをチェックします Original: checks whether the referred type precedes referred type of another type_indexobject in the implementation defined order, i.e. orders the referred types 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: returns a value which is identical for the same types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (パブリックメンバ関数) |
| 実装では、型の名前を定義しました Original: implementation defined name of the 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) |
連想のインデックスとして使用され、連想コンテナを順不同でき type_infoオブジェクトのラッパー Original: wrapper around a type_info object, that can be used as index in associative and unordered associative containers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (クラス) |