------- Additional Comments From wolfgang dot roehrl at de dot gi-de dot com  
2004-11-29 07:12 -------
Subject: Antwort:  template friend declaration not recognized





Hi all,

I'm responding to the "Comments From lerdsuwa at gcc dot gnu dot org
2004-11-27 16:19":

I do not think that the cited standard rule (11.4/2) matches my example
because the nested class C1<T_>::S1 uses a name of its surrounding class -
namely C1<T_>::T_PAR. For the definition of this name class C1<T_> in turn
is referring to a name of class C2<T_*> - namely C2<T_*>::T_PAR_TYPE. And
class C2<T_*> grants class C1<T_> access to its private names.


Best regards,
W. Roehrl



-- 


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

Reply via email to