Доброго времени суток!
Встретил подобный код
template<class T>
class Test
{
static T test();
};
typedef Test<int> FirstTest;
typedef Test<long> SecondTest;
int FirstTest::test()
{
return 10;
}
long SecondTest::test()
{
return UL;
}
gcc 4.4 выдает ошибку: too few template-parameter-lists
Но студия это как-то съела. Помогите разобраться