Subj : Re: Simple template linking problem To : borland.public.cpp.borlandcpp From : Colin Date : Thu Sep 11 2003 10:17 am Colin wrote: > Sadly, although I'd love to say "That's it!", the answer is that it made > no difference putting the template method implementations into the > header file, the linker still can't find the four methods shown.... > > Should I "flesh out" the class definition with the implementations, if > so thats horrible, but if that's what it takes..... Okay, fixed it now - just put the implementations straight into the class definition (so that they become inline functions) and all is well. I now get three warnings about "Functions containing reserved words are not expanded inline" (there are a couple of 'for' loops and a 'while'). Strangely they don't go away with #pragma option -winl-, nor turning off the warning in the compiler messages 'Inefficient C++ coding' page in the IDE. Also TD doesn't step into the inline functions so it's a pain to debug....other than that though.... .