if the class C1 is defined as: template<typename T> class C1: public C0 { ... };
Then there is no way (that I am aware of ) to define all possible versions of C1 as friend of C0. Topi --- In c-prog@yahoogroups.com, Jim Smith <jmclauri...@...> wrote: ... > If you already have a class defined that derives from the class you > need more access to, why would you not allow access to those > protected members and use that class type in the signature of the > method accessing the protected members?