This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/56285] [C++11] Arguments to an inheriting constructor are not forwarded properly
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 11 Feb 2013 13:14:42 +0000
- Subject: [Bug c++/56285] [C++11] Arguments to an inheriting constructor are not forwarded properly
- Auto-submitted: auto-generated
- References: <bug-56285-4@http.gcc.gnu.org/bugzilla/>
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)) { }