[TriLUG] OT: A C++ Templated Class Problem
Wing D Lizard
wingedlizard at nc.rr.com
Fri Apr 14 12:45:06 EDT 2006
Randy Barlow wrote:
> 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
>
Unfortunately, with c++ you need to wear your underwear over your pants.
-- b²
More information about the TriLUG
mailing list