B
BigMan
This code does not compile on g++ 3.4.2. I want the template argument
to be a friend of the template class. What syntax should I use to
define such relationship?
template< typename t >
class t2
{
friend t; // error: a class-key must be used when declaring a friend
};
to be a friend of the template class. What syntax should I use to
define such relationship?
template< typename t >
class t2
{
friend t; // error: a class-key must be used when declaring a friend
};