------- Comment #2 from fang at csl dot cornell dot edu  2009-04-26 00:52 
-------
Subject: Re:  static downcast through protectedly inherited
 base class rejected

> ------- Comment #1 from pinskia at gcc dot gnu dot org  2009-04-26 00:42 
> -------
> Comment #1 in Bug 12265, explains exactly why this code is invalid. 
> Protected base classes are non accessible in other clases besides in 
> derived and derived classes of derived.

Ok, I get it.  "not accessible to classes besides ..." excludes the 
base class itself.

I see your reflex time has not slowed, pinski.  :)

Fang


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39905

Reply via email to