------- Comment #7 from jason at gcc dot gnu dot org  2008-09-17 21:17 -------
8.5.1 says "An aggregate is an array or a class (Clause 9) with ... no base
classes (Clause 10)...."

Lawrence's suggestion won't work because the copy constructor is deleted.  To
make aggregate initialization work, we need to expand the definition of
aggregate to include classes with user-provided constructors that are all
deleted.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35782

Reply via email to