Hacker News new | ask | show | jobs
by spacechild1 207 days ago
> in C++ multiply inheriting from objects with a common base class is rare.

One example is COM (or COM-like frameworks) where every interface inherits from IUnknown. However, there is no diamond problem because COM interfaces are pure abstract base classes and the pure virtual methods in IUnknown are implemented only once in the actual concrete class.