<div class="t-tr-text">C + +: conceitos<div class="t-tr-dropdown"><div><div><div class="t-tr-dropdown-arrow-border"></div><div class="t-tr-dropdown-arrow"></div><div class="t-tr-dropdown-h">Original:</div><div class="t-tr-dropdown-orig">C++ concepts:</div><div class="t-tr-dropdown-notes">The text has been machine-translated via [http://translate.google.com Google Translate].<br/> You can help to correct and verify the translation. Click [http://en.cppreference.com/w/Cppreference:MachineTranslations here] for instructions.</div></div></div></div></div> PODType
Da 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. |
Especifica que o tipo é tipo POD (Plain dados antigos). Isto significa que o tipo é compatível com os tipos usados na linguagem de programação C, pode ser manipulado usando funções de biblioteca C: pode ser criado com std::malloc, ele pode ser copiada com std::memmove, etc, e podem ser trocadas com as bibliotecas de C directamente, sua forma binária.
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.
You can help to correct and verify the translation. Click here for instructions.
Note, que a norma não define um requisito nomeado ou conceito com este nome. Este é um tipo de categoria definida pela linguagem núcleo. Ele está incluído aqui como conceito apenas para consistência.
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.
[editar]NJ requisitos
Quer
Original:
Either
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.
Ou um tipo de classe (ou classstruct ou union) que é
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.
You can help to correct and verify the translation. Click here for instructions.
- an
AggregateType
- não possui membros não-estáticos que são não-PODOriginal:has no non-static members that are non-PODThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - não tem membros de tipo de referênciaOriginal:has no members of reference typeThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - não tem nenhum construtor de cópia definida pelo usuárioOriginal:has no user-defined copy constructorThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions. - não tem destrutor definido pelo usuárioOriginal:has no user-defined destructorThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Ou uma matriz do tipo tal
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.
You can help to correct and verify the translation. Click here for instructions.
[editar]NJ requisitos
Quer
Original:
Either
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.
Ou um tipo de classe (ou classstruct ou union) que é
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.
You can help to correct and verify the translation. Click here for instructions.
TrivialType
StandardLayoutType
- não possui membros não-estáticos que são não-PODOriginal:has no non-static members that are non-PODThe text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Ou uma matriz do tipo tal
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.
You can help to correct and verify the translation. Click here for instructions.
[editar]Veja também
(C++11) | verifica se é um tipo simples de idade dados (POD) tipo 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. (modelo de classe) |