vc question

hxx

Member
Joined
Mar 9, 2004
Messages
11
Is template cant use in class?

------------------------
template<typename T>
void abc(T x)
{
}
------------------------

this right
but

------------------------
template<typename T>
class aa
{
void abc(T x)
};
------------------------


this is error,and it says identifier T

why?
 
Back
Top