Steven Schveighoffer wrote:On Mon, 08 Mar 2010 09:38:08 -0500, Ary Borenszweig <a...@esperanto.org.ar> wrote:
Aside from the typo, I agree with you there, this should never be possible, because a derived class can not inherit both B and A.An instance of A can never be an A, so why the cast is allowed?Where's the typo?
"An instance of A can never be an A" Obviously you meant an instance of B :) -Steve