J
Jess
Hello,
I was told that if I have a template class or template function, then
the definitions must be put into the header file where I put the
declarations. On the other hand, it is generally good to put source
code and declaration into separate files (.h head filer and .cpp
source file). What can I do to template functions/classes? Do I have
to put them all into one header file?
Thanks,
Jess
I was told that if I have a template class or template function, then
the definitions must be put into the header file where I put the
declarations. On the other hand, it is generally good to put source
code and declaration into separate files (.h head filer and .cpp
source file). What can I do to template functions/classes? Do I have
to put them all into one header file?
Thanks,
Jess