[cfe-dev] Protected union member not visible in derived class

Richtarsky, Martin martin.richtarsky at sap.com
Thu May 10 12:30:31 PDT 2012


> The protected union member of the base class is not visible in B.
> Is there something in the standard that mandates this, or should I file a bug?
>
>> It's a bug;  the access logic is not "looking through" anonymous struct
>> and union members correctly when imposing the class.protected restriction.
>>
>> John.

Ok, I've filed it

http://llvm.org/bugs/show_bug.cgi?id=12788


Best regards,
Martin




More information about the cfe-dev mailing list