LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] C++ templates

[ILUG] C++ templates

Noel.C.Carroll at life.friendsfirst.ie Noel.C.Carroll at life.friendsfirst.ie
Tue Mar 30 10:54:00 IST 1999


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 harvard-group.com
Dublin 2

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




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell