std::type_index
Da 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. |
Definido no cabeçalho <typeindex>
|
||
class type_index; |
(desde C++11) | |
The type_index
class is a wrapper class around a std::type_info object, that can be used as index in associative and unordered associative containers. The relationship with type_info
object is maintained through a pointer, therefore type_index
is CopyConstructible
and CopyAssignable
.
[editar] Funções de membro
Constrói o objeto 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. (função pública membro) | |
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. (função pública membro) | |
retornos hash código 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. (função pública membro) | |
implementação rendimentos definidos nome do tipo, associado com o objeto type_info subjacente 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. (função pública membro) |
[editar] Classes auxiliares
(C++11) |
apoio de hash para 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. (especialização modelo. classe) |
[editar] Veja também
contém informação de algum tipo, gerada pela implementation. Esta é a classe, retornado pelo operador 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) |