Details
-
Bug
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
ALL
-
Execution Team 2022-12-12
-
51
Description
C++20 changes the rules around aggregate initialization, so that if a struct/class has a deleted default constructor (e.g. if one of the members cannot be default constructed), then the struct isn't eligible for aggregate initialization.