Пространства имён
Варианты
Действия

Концепции C++: PODType

Материал из cppreference.com

 
 
Концепции C++
Basic
Original:
Basic
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Библиотека-Wide
Original:
Library-Wide
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Контейнер
Original:
Container
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Контейнер элементов
Original:
Container Elements
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Iterator
Original:
Iterator
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Случайных чисел
Original:
Random Numbers
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Параллелизмом
Original:
Concurrency
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
BasicLockable(C++11)
Lockable(C++11)
TimedLockable(C++11)
Mutex(C++11)
TimedMutex(C++11)
Другое
Original:
Other
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
 
Указывает, что тип POD (Plain Old Data) типа. Это означает, что тип совместим с типами используемых в языке программирования C, можно манипулировать с помощью функции C библиотеки: она может быть создана с std::malloc, он может быть скопирован с std::memmove, и т.д., и могут быть обменены с библиотеками C напрямую, ее двоичной форме.
Original:
Specifies that the type is POD (Plain Old Data) type. This means the type is compatible with the types used in the C programming language, can be manipulated using C library functions: it can be created with std::malloc, it can be copied with std::memmove, etc, and can be exchanged with C libraries directly, in its binary form.
The text has been machine-translated via Google Translate.
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.

[править] Требования NJ

Либо
Original:
Either
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Или типа класса (class или struct или union), что есть
Original:
Or a class type (class or struct or union) that is
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
  • an AggregateType
  • не имеет не статические члены, которые не являются POD
    Original:
    has no non-static members that are non-POD
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • не имеет члены ссылочного типа
    Original:
    has no members of reference type
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • не имеет пользовательский конструктор копии
    Original:
    has no user-defined copy constructor
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
  • не имеет пользовательского деструктора
    Original:
    has no user-defined destructor
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
Или массиве такого типа
Original:
Or an array of such type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[править] Требования NJ

Либо
Original:
Either
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Или типа класса (class или struct или union), что есть
Original:
Or a class type (class or struct or union) that is
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
  • TrivialType
  • StandardLayoutType
  • не имеет не статические члены, которые не являются POD
    Original:
    has no non-static members that are non-POD
    The text has been machine-translated via Google Translate.
    You can help to correct and verify the translation. Click here for instructions.
Или массиве такого типа
Original:
Or an array of such type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[править] См. также

(C++11)
проверяет, является ли тип обычный старый данных (POD) типа
Original:
checks if a type is plain-old data (POD) type
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(шаблон класса) [edit]