April 14th, 2003, 10:15 pm
Hi all, Just a query that I've come up with regarding the declaration of Templates.... What is the difference (is there?) between the following template declarations?template<class T> class Test{...};template<typename T>class Test{...};As far as I can tell from some simple programs the only difference is that the first is used for the standard types used in C++, e.g. int, double, char... and the latter is used for user specified classes that C++ would not know about normally. But is there anything else subtle happening here?Many Thanks!Sam
Last edited by
sam on April 14th, 2003, 10:00 pm, edited 1 time in total.