OONumerics User :

From: Simon Perreault (nomis80_at_[hidden])
Date: 2006-01-17 12:13:41


On Tuesday January 17 2006 10:18, Nguyen Xuan Son wrote:
> class MYDERIVEDCLASS:public MYBASECLASS<MYDERIVEDCLASS>
>
> {
>
> friend class MYBASECLASS;
>
> ....
>
> }

Maybe you should use "friend class MYBASECLASS<MYDERIVEDCLASS>;" instead.

As an aside: I don't use any friend declaration in my own classes which also
use the Barton-Nackman trick. Maybe there's a way around.