S
Sosuke
How is up casting and down casting performed? Maybe it's an
implementation detail, but hopefully it's something that most
compilers implement in the same way. My first guess was that the
compiler places the base class at the beginning of the derived class,
so that both have the same address. But that wouldn't work in the case
of multiple inheritance.
implementation detail, but hopefully it's something that most
compilers implement in the same way. My first guess was that the
compiler places the base class at the beginning of the derived class,
so that both have the same address. But that wouldn't work in the case
of multiple inheritance.