This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/45114] implement C++0x alias-declaration
- From: "vincenzo.innocente at cern dot ch" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 31 Oct 2011 16:16:54 +0000
- Subject: [Bug c++/45114] implement C++0x alias-declaration
- Auto-submitted: auto-generated
- References: <bug-45114-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45114
--- Comment #11 from vincenzo Innocente <vincenzo.innocente at cern dot ch> 2011-10-31 16:16:54 UTC ---
the example in comment 10 compiles fine if I add a move constructor
D(A<T> && ia) : a(ia) {}
or a "by value constructor"
D(A<T> ia) : a(ia) {}