This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] PR c++/26256


On 06/09/2010 04:44 AM, Fabien ChÃne wrote:
Ah, perhaps you mean that;

struct A { int next; };
struct B { int next; };
struct C : A, B { using B::next; };

struct D : C
{
     void f() { next = 1; }
};

Right.


Jason


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]