On Wed, Mar 03, 2004 at 04:32:01PM -0700, Von Fugal wrote:
> Here's a really simple example with the same problem I'm having. I must be
> doing something wrong, and I would guess it's probably in the bag.cpp file.

I remember having problems also trying to do the same thing, but never actually got it 
resolved.  The hack I used was to define every function of the class template within 
the header file so that theoretically the compiler is then forced to instantiate the 
classes you use when it compiles your user program.

See:
$ info gcc
"C++ Extensions"->"Template Instantiation"


Justin

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to