[Bug c++/79143] [7 Regression][new inheriting constructors] inheriting constructor fails with brace initialization
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Feb 7 16:26:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79143
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-02-07
Ever confirmed|0 |1
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> ---
I think this is a bug. derived is not an aggregate, because it inherits a
user-provided constructor, so braced-init should call the base(int, int)
constructor, not attempt aggregate init.
More information about the Gcc-bugs
mailing list