Top "Standard-layout" questions

What are Aggregates and PODs and how/why are they special?

This FAQ is about Aggregates and PODs and covers the following material: What are Aggregates? What are PODs (Plain Old …

c++ c++11 aggregate c++17 standard-layout
Why is C++11's POD "standard layout" definition the way it is?

I'm looking into the new, relaxed POD definition in C++11 (section 9.7) A standard-layout class is a class that: has no …

c++ c++11 standard-layout
Is a Union Member's Destructor Called

C++11 allowed the use of standard layout types in a union: Member of Union has User-Defined Constructor My question then …

c++ c++11 destructor unions standard-layout