Nectarpost
For Passionate Bloggers
Case 1: Zero initialized for aggregateCase 2: Brace elision
Case 1: Explicit - Copy initialization will not work with explicit constructorsCase 2: Both explicit and normal constructorCase 3: Problem with direct initialization - passing object
Case 1: Zero initialization Case 2: No user defined constructor i.e. no user defined initialization. Case 3: With User defined constructor Case 4: default constructor outside class, it will be treated as user provided.
Types: 1. Direct-list-initialization 2. Copy-list-initialization About std::initializer_list Problems with std::initializer_list std::initializer_list for Agregate types [Special case with empty braces]:
Aggregates can have default memory initializers (DMI).auto keyword fix
Copy elision
Designated Initialization Array deduction Aggregate no longer declare constructors Support for Aggregates initialization with parenthesis i