Код: Выделить всё
template
struct Class1
{
template
int func(U u);
};
template
int Class1::func(U u)
{
}
< /code>
это не работает. < /p>
Я также пробовал: < /p>
template
struct Class1
{
template
int func();
};
template
int Class1::func(U u)
{
}
Подробнее здесь: https://stackoverflow.com/questions/794 ... -itself-is
Мобильная версия