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; |
(desde C++11) | |
bool operator!=( const type_index& rhs ) const; |
(desde C++11) | |
bool operator<( const type_index& rhs ) const; |
(desde C++11) | |
bool operator<=( const type_index& rhs ) const; |
(desde C++11) | |
bool operator>( const type_index& rhs ) const; |
(desde C++11) | |
bool operator>=( const type_index& rhs ) const; |
(desde C++11) | |
Compara os objetos std::type_info subjacentes.
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)
Verifica se os objetos subjacentes std::type_info se referem ao mesmo tipo.
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)
Compara os objetos std::type_info subjacentes, como definidos por uma ordenação definida pela implementação. A comparação é feita por 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.
Parâmetros
| rhs | - | outro objeto
type_index para compararOriginal: 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. |
Valor de retorno
1)
true se os objetos std::type_info subjacentes referem-se a mesmo tipo, false contrárioOriginal:
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 se os objetos std::type_info subjacentes não se referem ao mesmo tipo, false contrárioOriginal:
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 se os tipos referidos pelos objetos std::type_info subjacentes são ordenados por ordem correspondente, caso contrário false.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.