?
=?ISO-8859-15?Q?=22Marcos_E=2E_Kurb=E1n=22?=
Hi all,
To begin with: yes I know VC6 is way too old to be used today, but it's
what I have
I have this inheritance problem:
class A {
virtual const wchar_t *f() const = 0;
}
class B {
virtual const wchar_t *g() const = 0;
}
class AA : public A {
virutal const wchar_t *f() const ;
/* I tried with and without the 'virtual' qualifier here */
}
class BB : public AA, public B {
const wchar_t *g() const;
}
AA a; // OK for VC6
BB b; // it says wrong: "f not implemented"!
IS THIS COMPLIANT?
Am I missing something stupid? (some keyword, clause or something?)
Thanks for any help!
Regards,
Marcos
PS: I also tried the following in BB:
using AA:f;
won't work either!
To begin with: yes I know VC6 is way too old to be used today, but it's
what I have
I have this inheritance problem:
class A {
virtual const wchar_t *f() const = 0;
}
class B {
virtual const wchar_t *g() const = 0;
}
class AA : public A {
virutal const wchar_t *f() const ;
/* I tried with and without the 'virtual' qualifier here */
}
class BB : public AA, public B {
const wchar_t *g() const;
}
AA a; // OK for VC6
BB b; // it says wrong: "f not implemented"!
IS THIS COMPLIANT?
Am I missing something stupid? (some keyword, clause or something?)
Thanks for any help!
Regards,
Marcos
PS: I also tried the following in BB:
using AA:f;
won't work either!