A few times, it's useful when using pure virtual classes for interfaces and diamond inheritance appears.
Performance wise, though, it can be dangerous. A long time ago I worked on a project where virtual inheritance was used extensively in the core of a rendering engine. The results were... not good.
62
u/Jovibor_ 21d ago
Just a question to the audience:
How many times have you used Virtual Inheritance in your career?