title: Casting with multiple inheritance
body: <p>If you have a void* pointer to Derived class that inherits from both <code>BaseA</code> and <code>BaseB</code>, how does the compiler cast the <code>void*</code> pointer to <code>BaseA*</code> (or <code>BaseB*</code>) without knowing that the <code>void*</code> pointer is of type <code>Derived</code>?</p>