Ich war auf C++ POD, Trivial and Standard Layout classes Eine Eigenschaft durch große Artikel gehen habe ich nicht klar über Standard-Layout verstanden ist die folgende: -Standardlayout C++
A standard layout has no base classes of the same type as the first
non-static data member
sind also folgende nicht ein Standard-Layout, wie es ist das erste Element gleich der Basisklasse
struct NonStandardLayout3 : StandardLayout1 {
StandardLayout1 x; // first member cannot be of the same type as base
};
Aber leistungsmäßig und Eigentum weisen, wie die oben Struktur anders als
istDas ist die Korrektur des einen darüber.
Ähnliche [post] (http://stackoverflow.com/q/7160901/183120). – legends2k