std::type_index::operator==,!=,<,<=,>,>=
De 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. |
<metanoindex/>
<tbody> </tbody> bool operator==( const type_index& rhs ) const; |
(depuis C++11) | |
bool operator!=( const type_index& rhs ) const; |
(depuis C++11) | |
bool operator<( const type_index& rhs ) const; |
(depuis C++11) | |
bool operator<=( const type_index& rhs ) const; |
(depuis C++11) | |
bool operator>( const type_index& rhs ) const; |
(depuis C++11) | |
bool operator>=( const type_index& rhs ) const; |
(depuis C++11) | |
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.
You can help to correct and verify the translation. Click here for instructions.
1-2)
Vérifie si les objets sous-jacents std::type_info se réfèrent au même type .
Original:
Checks whether the underlying std::type_info objects refer to the same type.
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.
3-6)
Compare les objets sous-jacents std::type_info tels que définis par un ordre défini par l'implémentation. La comparaison est faite par type_info::before .
Original:
Compares the underlying std::type_info objects as defined by an implementation-defined ordering. The comparison is done by type_info::before.
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.
Paramètres
| rhs | - | un autre objet
type_index à comparerOriginal: another type_index object to compare toThe text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Retourne la valeur
1)
true si les objets sous-jacents std::type_info reportez-vous au même type, false autrementOriginal:
true if the underlying std::type_info objects refer to the same type, false otherwiseThe 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.
2)
true si les objets sous-jacents std::type_info ne se réfèrent pas au même type, false autrementOriginal:
true if the underlying std::type_info objects refer not to the same type, false otherwiseThe 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.
3-6)
true si les types visés par les objets sous-jacents std::type_info sont classés par ordre correspondant, false autrement .Original:
true if the types referred by the underlying std::type_info objects are ordered by corresponding order, false otherwise.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.