W
Wolfgang Meyer
template<bool constness>
class X
{
public:
friend class X<!constness>;
...
};
Is this legal C++?
g++ doesn't warn with -ansi -predantic. So I suppose it is?
class X
{
public:
friend class X<!constness>;
...
};
Is this legal C++?
g++ doesn't warn with -ansi -predantic. So I suppose it is?