Only the header files reflect the use of templates. Each function declaration should also be templatized. Also, per C++ convention, template C++ classes should be Class_T.cpp and Class_T.h not class.cpp and class.h respectively.
Thanks,
Ian
Logged In: YES user_id=173086
A patch has been added into the patch section to fix this problem.
The naming scheme for the filenames, however, has not been changed.
Logged In: YES user_id=419557
Also, per C++ convention, template C++ classes should be Class_T.cpp and Class_T.h not class.cpp and class.h respectively.
Well, I don't know where you got that from? Seen the STL headers? There's no vector_T.h or list_T.h (though I'd still stick with the .h)
Chris
Log in to post a comment.
Logged In: YES
user_id=173086
A patch has been added into the patch section to fix this
problem.
The naming scheme for the filenames, however, has not been
changed.
Logged In: YES
user_id=419557
Well, I don't know where you got that from?
Seen the STL headers? There's no vector_T.h or list_T.h
(though I'd still stick with the .h)
Chris