|
|
error: could not convert ‘{1}’ from ‘<brace-enclosed initializer list>’ to ‘Class’ |
An aggregate is an array or a class (clause 9) with no user-declared constructors (12.1), no private or protected non-static data members (clause 11), no base classes (clause 10), and no virtual functions (10.3). |
|
|