C++ PATCH to implement C++11 inheriting constructors
Jason Merrill
jason@redhat.com
Mon Oct 15 07:35:00 GMT 2012
This patch implements the C++11 inheriting constructors feature: given
struct A { A(int); };
struct B { using A::A; };
the compiler defines B::B(int) that just passes its argument along to
the A constructor.
Ville started working on this feature a while back, but got tied up with
other things and was unable to finish it in time for 4.8, so I finished
it up.
Tested x86_64-pc-linux-gnu, applying to trunk.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inherit.patch
Type: text/x-patch
Size: 37108 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20121015/79241d8e/attachment.bin>
More information about the Gcc-patches
mailing list