◐ Shell
clean mode source ↗

std::type_info::hash_code — cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

size_t hash_code() const;

(depuis C++11)

Retourne une valeur indéterminée, qui est identique pour les objets, en se référant au même type. Aucune autre garantie n'est donnée, en particulier, la valeur peut changer entre les appels du même programme .

Original:

Returns an unspecified value, which is identical for objects, referring to the same type. No other guarantees are given, in particular, the value can change between invocations of the same program.

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

Paramètres

(Aucun)

Original:

(none)

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

Retourne la valeur

une certaine valeur, qui est identique pour les mêmes types .

Original:

some 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.

Exemple

Voir aussi

checks whether the objects refer to the same type
(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]