Okay. This will sound like a funny question, or at least it was funny when it occurred to me that I've never thought about how to do what I'm trying to do, but...
I've got a base class A from which 2 classes are derived B : A and C : A. Class B is a template and C is a pure virtual. The only template parameter for B is any object derived from C. Keeping it straight? Okay, let's continue...
Now, there are functions I need private in C, but that need to be called by B. The best logical solution is to make B a friend of C (which it should be anyway), but I have no idea if/how a class might make a template class its friend.
Have you any idea?