◐ Shell
clean mode source ↗

std::type_info — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

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

<typeinfo>

class type_info;

Le type_info classe contient la mise en œuvre des informations spécifiques sur un type, y compris le nom du type et des moyens pour comparer deux types d'égalité ou ordre de classement. Il s'agit de la classe retournée par l'opérateur

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.

La classe type_info n'est ni CopyConstructible ni CopyAssignable .

Original:

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

Fonctions membres

(constructeur)

[

supprimée

Original:

deleted

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

]

has neither default nor copy constructors
(fonction membre publique)

[

virtuel

Original:

virtual

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

]

objets dérivés sont sûrs à supprimer à travers un pointeur à la base

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.


(function membre virtuelle publique)

operator=

[

supprimée

Original:

deleted

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

]

ne peut pas être la copie affecté

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.


(fonction membre publique)
checks whether the objects refer to the same type
(fonction membre publique) [edit]

vérifie si le type visé précède type visé d'un autre objet type_index
dans la mise en œuvre défini de commandes, les commandes à savoir les types visés

Original:

checks whether the referred type precedes referred type of another type_index
object 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.


(fonction membre publique) [edit]

(C++11)

renvoie une valeur qui est identique pour les mêmes types

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.


(fonction membre publique) [edit]

mise en œuvre définies nom du type

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.


(fonction membre publique) [edit]

Voir aussi

enveloppe autour d'un objet type_info, qui peut être utilisé comme index dans des récipients non ordonnée associatif et associatif

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.


(classe) [edit]