std::type_info
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 <typeinfo>
|
||
class type_info; |
||
La classe contiene
type_info
attuazione specifiche informazioni su un tipo, compreso il nome del tipo e mezzi per confrontare due tipi di uguaglianza o l'ordine di collazione. Questa è la classe restituita dal gestore typeid. Original:
The class
type_info
holds implementation-specific information about a type, including the name of the type and means to compare two types for equality or collating order. 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.
You can help to correct and verify the translation. Click here for instructions.
La classe non è né
type_info
CopyConstructible
né CopyAssignable
. Original:
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.
[modifica] Membri funzioni
(costruttore) [cancellato] |
has neither default nor copy constructors (metodo pubblico) |
[virtuale] |
oggetti derivati sono sicuri da eliminare tramite puntatore-a-base Original: derived objects are safe to delete through pointer-to-base The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico virtuale) |
operator= [cancellato] |
non può essere copia-assegnato Original: can not be copy-assigned The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) |
checks whether the objects refer to the same type (metodo pubblico) | |
verifica se il tipo di cui precede tipo indicato di un altro oggetto type_index nell'attuazione definito ordine, vale a dire i tipi di ordini di cui Original: checks whether the referred type precedes referred type of another type_index object in the implementation defined order, i.e. orders the referred types The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (metodo pubblico) | |
(C++11) |
restituisce un valore che è identica per gli stessi tipi Original: returns a 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. (metodo pubblico) |
attuazione definito nome del tipo 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. (metodo pubblico) |
[modifica] Vedi anche
(C++11) |
wrapper per un oggetto type_info , che può essere utilizzata come indice associativo e non ordinati in contenitori associativi Original: wrapper around a type_info object, that can be used as index in associative and unordered associative containers The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (classe) |