[ILUG] C++ templates

From: Noel.C.Carroll at domain life.friendsfirst.ie
Date: Tue 30 Mar 1999 - 10:54:23 IST


Anyone ever come across the problem where you define a template base class in
it's own .h and .cpp file and then define a derived class from the template and
put it in its own implementation files. The problem is that the derived class
says it can't see the base class. This wouldn't happen for normal classes. The
only practical solution is to combine both the base and derived classes into one
implementation and header file. This is certainly the case under VC4/5. Has
anyone come across this problem before and have you managed to get around it?

Noel

--------------------------------------------------------------------------------
Noel Carroll +353-1-6629601
The Harvard Group +353-1-6186178
7. Windsor Place noel at domain harvard-group.com
Dublin 2

"A stroke of the brush does not guarantee art from the bristles" - Kosh



This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:04:06 GMT