What happens if your Derived::a_method()
attempts to use a data member only present in Derived
, not in Base
, and you call it on a Base
object (or an object derived from Base
but not related to Derived
)?
The conversion the other way around makes sense, this one doesn't.