[Bug c++/35782] support for standard layout types
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Sep 17 21:18:00 GMT 2008
------- 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
More information about the Gcc-bugs
mailing list