title: Multiple inheritance casting from base class to different derived class
body: <p>Let's assume there is such class hierarchy:</p>
  
  <pre><code>class A //base class
  
  class B //interface
  
  class C : public A, public B
  </code></pre>
  
  <p>Then C object is created:</p>
  
  <pre><code>A *object = new C();
  </code></pre>
  
  <p>Is it possible to cast object to B ?</p>
  
  <p><strong>Important:</strong> I assume I don't know that object is C. I just know that it implements interface B</p>