◐ Shell
clean mode source ↗

C + + Konzepte: PODType – cppreference.com

Aus cppreference.com

<metanoindex/>

Gibt an, dass der Typ POD (Plain Old Data)-Typ ist. Dies bedeutet, das kompatibel ist mit den Typen in der Programmiersprache C verwendet werden, manipuliert mit C-Library-Funktionen: Es kann mit std::malloc erstellt werden, mit std::memmove kopiert werden können, etc, kann und mit C-Bibliotheken ausgetauscht direkt in seiner binären Form .

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.

Beachten Sie, dass die Norm nicht definiert eine benannte Anforderung oder Konzept mit diesem Namen. Dies ist eine Art Kategorie mit dem Kern der Sprache definiert. Es wird hier als Konzept nur für die Konsistenz berücksichtigt .

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.

Anforderungen NJ

Entweder

Original:

Either

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Oder eine Klasse-Typ (class oder struct oder union) das ist

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
  • hat keine nicht-statische Elemente, die Nicht-POD sind

    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.

  • hat keine Mitglieder der Referenz-Typ

    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.

  • hat keine benutzerdefinierten Kopierkonstruktor

    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.

  • hat keine benutzerdefinierten Destruktor

    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.

Oder ein Array derartiger Typ

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.

Anforderungen NJ

Entweder

Original:

Either

The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

Oder eine Klasse-Typ (class oder struct oder union) das ist

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
  • hat keine nicht-statische Elemente, die Nicht-POD sind

    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.

Oder ein Array derartiger Typ

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.

Siehe auch

prüft, ob ein Typ ist plain-old-Daten (POD)-Typ

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.


(Klassen-Template) [edit]