beginner76
Programmer
When I create a template class, should I place all definitions for the template member functions in the same file (~code segment)? (Deitel seems to imply this in their C++ book, Chapter on templates).
I get link errors if I do not do that (I use MS Visual Studio)... If such is indeed required, then this really limits how much code I can stick inside a template while being organized... I am confused...
I get link errors if I do not do that (I use MS Visual Studio)... If such is indeed required, then this really limits how much code I can stick inside a template while being organized... I am confused...