C + + Konzepte: PODType
Aus 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. |
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.
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] 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.
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.
You can help to correct and verify the translation. Click here for instructions.
- an
AggregateType
- hat keine nicht-statische Elemente, die Nicht-POD sindOriginal: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. - hat keine Mitglieder der Referenz-TypOriginal: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. - hat keine benutzerdefinierten KopierkonstruktorOriginal: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. - hat keine benutzerdefinierten DestruktorOriginal: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.
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] 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.
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.
You can help to correct and verify the translation. Click here for instructions.
-
TrivialType
-
StandardLayoutType
- hat keine nicht-statische Elemente, die Nicht-POD sindOriginal: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.
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.
You can help to correct and verify the translation. Click here for instructions.
[Bearbeiten] Siehe auch
(C++11) |
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) |