[Bug c++/56285] [C++11] Arguments to an inheriting constructor are not forwarded properly
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Feb 11 13:15:00 GMT 2013
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56285
Jonathan Wakely <redi at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |rejects-valid
Status|UNCONFIRMED |NEW
Last reconfirmed| |2013-02-11
Ever Confirmed|0 |1
--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> 2013-02-11 13:14:42 UTC ---
[class.inhctor]/8 says bar should have an implicitly-defined constructor
equivalent to
bar(int&& p) : foo(static_cast<int&&>(p)) { }
More information about the Gcc-bugs
mailing list