Complex sentence: In the C++ programming language, virtual inheritance is a kind of inheritance that solves some of the problems caused by multiple inheritance (particularly the "diamond problem") by clarifying ambiguity over which ancestor class members to use.
Split into simpler sentences: In the C++ programming language, virtual inheritance is a kind of inheritance that can be used under multiple inheritance. This can be used to solve some problems (particularly the "diamond problem"), by clarifying ambiguity over which ancestor class to use.