Skip to main content

Questions tagged [virtual-inheritance]

Filter by
Sorted by
Tagged with
3 votes
4 answers
410 views

When designing a pure virtual base class (interface) in C++, in what cases would I not want to allow polymorphic deletion via a pointer to my base class? I've seen questions about why you should make ...
ToddR's user avatar
  • 335
2 votes
1 answer
271 views

I want to use a physics engine (like bullet or PhysX) in my program, however I want to hide the actual physics engine from it, so I can easily swap it out with another during run-time (e.g. switch ...
user225183's user avatar
2 votes
2 answers
1k views

I am working on a program language, and I came to the dilemma whether it should support virtual inheritance or not. As a designer and implementer of the language, including that feature represents ...
dtech's user avatar
  • 763
-7 votes
1 answer
8k views

I am confused over Virtual Inheritance and disinheritance ? Is both are same ?
Pranay Neema's user avatar
3 votes
0 answers
849 views

Why virtual inheritance is not used as default? Default as in by the programmer and not the language. If not, why? What are the cases where it may fail? Is there some run time overhead? Is it ...
q126y's user avatar
  • 1,733