hello!
i'm used to write templates like this:
template<typename T>
void someFunction(SomeClass<T> argument);
however - now I encountered templates in another thread written like this:
template<U>
void someFunction(SomeClass<U> argument);
as far as i know one can use "typename" and "class" interchangably (except for some details regarding nested types..). but what does it mean if i don't put a keyword in the brackets at all?
thanks!
the thread in question: http://stackoverflow.com/questions/561115/problems-writing-a-copy-constructor-for-a-smart-pointer