std::type_info
Материал из 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. |
| Заголовочный файл <typeinfo>
|
||
| class type_info; |
||
Класс
type_info проводит реализации конкретной информации о типе, включая имя типа и средство для сравнения двух типов на равенство или сбор заказа. Это класс возвращается 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.
type_info класса не является ни CopyConstructible ни 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.
[править] Член функций
| (constructor) [удалено] |
has neither default nor copy constructors (public функция-член) |
| [virtual] |
производных объектов можно безопасно удалить через указатель на базу 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. (virtual public функция-член) |
| operator= [удалено] |
не может быть копией назначенный 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. (public функция-член) |
| checks whether the objects refer to the same type (public функция-член) | |
| проверяет, является ли упомянутый тип предшествует называют типом другого объекта type_indexв реализации установленном порядке, то есть заказы, упомянутых типов Original: checks whether the referred type precedes referred type of another type_indexobject 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. (public функция-член) | |
| (C++11) |
возвращает значение, которое совпадает по тем же типам 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. (public функция-член) |
| осуществление определенного имени типа 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. (public функция-член) | |
[править] См. также
| (C++11) |
обертка type_info объект, который может быть использован в качестве индекса в ассоциативном и неупорядоченные ассоциативных контейнеров 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. (класс) |