[TriLUG] OT: A C++ Templated Class Problem

Randy Barlow randy at electronsweatshop.com
Fri Apr 14 12:40:07 EDT 2006


Owen Berry wrote:
> I think you need to inline all your template functions. In other words,
> all your code needs to be in the header file.
>
>   
Hmm, that did seem to resolve the linker errors, thanks!  Is there any 
way to do it without putting all the code in the header though?  I only 
ask because I just wanted to keep things clean and easy to read and 
understand by separating the interface from the implementation.

Thanks for you help!

Randy




More information about the TriLUG mailing list