Mail Archives: djgpp/1997/04/08/08:26:31
>Once again, I'm asking for help with my template problems. Could somebody
>please tell me why my code won't link? It's available at:
>
>http://www.hcst.com/~bryan/univtmpl.zip
>
Here is a citation from reno.tex from gcc2721s.zip:
*Template definitions must be visible*
When you compile code with templates, the template definitions
must come first (before the compiler needs to expand them), and
template definitions you use must be visible in the current scope.
Just put function definitions for particular class into
header file where you defined that class ans it should work.
- Raw text -