Oblomov<p>I have a question for people with better theoretical background on <a href="https://sociale.network/tags/ObjectOriented" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ObjectOriented</span></a> <a href="https://sociale.network/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> and especially for <a href="https://sociale.network/tags/CPlusPlus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CPlusPlus</span></a> developers.</p><p><a href="https://sociale.network/tags/askFedi" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>askFedi</span></a> <a href="https://sociale.network/tags/fediHelp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fediHelp</span></a> Is the following pattern known and does it have a name?</p><p>I have a number of classes (call them C1, C2, etc) that all derive from the same class B. I have a superclass (template, actually) D that derives from C1, C2 etc. To have a single B, the standard solution is to go with virtual inheritance to close the diamond (so far, so good).</p><p>1/n</p>