[Bug c++/37898] aggregates vs. defaulted deleted functions
bkoz at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 4 03:44:00 GMT 2008
------- Comment #2 from bkoz at gcc dot gnu dot org 2008-12-04 03:41 -------
Yes, the default ctor is explicitly defaulted, but the copy ctor is an
(explicitly) deleted function. Deleted functions are user-defined.
Thus, this is not an aggregate.
--
bkoz at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Keywords|rejects-valid |
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37898
More information about the Gcc-bugs
mailing list