std::type_index
Da cppreference.com.
![]() |
Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate.
La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <typeindex>
|
||
class type_index; |
(dal 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
.
[modifica] Membri funzioni
Costruisce l'oggetto 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. (metodo pubblico) | |
confronta gli oggetti std::type_info sottostanti 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. (metodo pubblico) | |
restituisce il codice hash 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. (metodo pubblico) | |
implementazione restituisce definito nome del tipo, associato all'oggetto type_info sottostante 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. (metodo pubblico) |
[modifica] Helper classi
(C++11) |
sostegno hash per 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. (classe modello di specializzazione) |
[modifica] Vedi anche
contiene informazioni di qualche tipo, generato dal implementation. Questa è la classe, restituito dall'operatore 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) |