◐ Shell
clean mode source ↗

<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

De cppreference.com

<metanoindex/>

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.

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.

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.

Ou um tipo de classe (ou class struct 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.

  • an AggregateType
  • não possui membros não-estáticos que são não-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.

  • não tem membros de tipo de referência

    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.

  • não tem nenhum construtor de cópia definida pelo usuário

    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.

  • não tem destrutor definido pelo usuário

    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.

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.

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.

Ou um tipo de classe (ou class struct 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.

  • TrivialType
  • StandardLayoutType
  • não possui membros não-estáticos que são não-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.

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.

Veja também

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) [edit]