◐ Shell
clean mode source ↗

std::type_index — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

Déclaré dans l'en-tête

<typeindex>

class type_index;

(depuis C++11)

La classe type_index est une classe recouvrant un objet std::type_info, qui peut-être utilisé comme index dans un conteneur associatif et associatif non ordonné. Le lien avec l'objet type_info est maintenu à travers d'un pointeur, donc type_index est CopyConstructible et CopyAssignable.

Fonctions membres

Construit l'objet

Original:

constructs the object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction membre publique) [edit]

compare les objets sous-jacents std::type_info

Original:

compares the underlying std::type_info objects

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction membre publique) [edit]

retours haché code

Original:

returns hashed code

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction membre publique) [edit]

mise en œuvre de retour définie nom du type,
associé à l'objet qui sous-tend

type_info

Original:

returns implementation defined name of the type,
associated with underlying

type_info

object

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(fonction membre publique) [edit]

Classes d'aide

soutien de hachage pour std::type_index

Original:

hash support for std::type_index

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.


(classe générique spécialisée) [edit]

Voir aussi

contient un certain type d'informations, le produit par la implementation.
Il s'agit de la classe, retournée par l'opérateur typeid

Original:

contains some type's information, generated by the implementation.
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.


(classe) [edit]