T
t-tocs
In C++, is it possible to design a class so that it will not allow
multiple inheritance?
multiple inheritance?
In C++, is it possible to design a class so that it will not allow
multiple inheritance?
No, I mean a base class, Base1, so that it will not allow the
following:
class Derive: public Base1, public Base2 {
}
but will allow:
class Derive: public Base1 {
}
It is not for a particular reason.
I was just wondering if it was possible.
t-tocs said:No, I mean a base class, Base1, so that it will not allow the
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.