consider the following class template:
template
class MyClass
{
void MyFunc();
};
template
void MyClass::MyFunc()
{
template
template
void MyClass::MyFunc2(T2* pData)
{
//...implementation goes here
}
EDIT 2:
$14.5.2/1 - "A template can be declared within a class or class template; such a template is called a member template. A member template can be defined within or outside its class definition or class template definition. A member template of a class template that is defined outside of its class template definition shall be specified with the template-parameters of the class template followed by the template-parameters of the member template."