http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46872
Summary: 'using' in templated inheritance makes protected member public Product: gcc Version: 4.3.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ AssignedTo: unassig...@gcc.gnu.org ReportedBy: c...@informatik.uni-bremen.de Hi, I can compile the attached piece of code, which I think is illegal C++. I checked several other compilers which all reject it. Also, the same programm without templates fails in g++ (as expected), too. I'm not sure if this behaviour is somehow intended but it does not seem logical to me at all. Best regards, Christoph