Концепции C++: StandardLayoutType
Материал из 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. |
Указывает, что тип стандартного типа макета. стандартного типа макета полезны для общения с кодом, написанным на других программ языки.
Original:
Specifies that a type is стандартного типа макета. Standard layout type are useful for communicating with code written in other programming languages.
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.
Отметим, что стандарт не определяет требования именем или концепции с этим именем. Это тип категории определяются основные языке. Он включен здесь как понятие только для последовательности.
Original:
Note, that the standard doesn't define a named requirement or concept with this name. This is a type category defined by the core language. It is included here as concept only for consistency.
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.
[править] Требования
- Все нестатических членов и базовых классов стандартных типов макета (отвечает требованиям
StandardLayoutTypeOriginal:All non-static members are and base classes are стандартных типов макета (meets the requirements ofStandardLayoutTypeThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - не имеет виртуальных функций или виртуальных базовых классовOriginal:Has no virtual functions or virtual base classesThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Все не статический член имеют одинаковый контроля доступаOriginal:All non-static member have the same контроля доступаThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - Первый нестатический член типа не является базовым классомOriginal:The first non-static member type is not a base classThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
[править] См. также
| (C++11) |
проверяет, является ли тип нормативно-макета типа Original: checks if a type is standard-layout type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (шаблон класса) |