Hi all,
I don't know if this is just a "bug" in VisualStudio 6 or if I've
missed something...
If I do like this:
namespace NS
{
class CA
{
int A;
public:
virtual void Func() { A = 0; }
};
}
class CB : public NS::CA
{
int B;
public:
virtual void Func() { B = 0; NS::CA::Func(); }
};
the compiler gives 'illegal call of non-static member function'-error
message but if i add:
using namespace NS;
and removes NS:: it compiles fine.
Anyone knows?
Thanks in advance
/ Tomas