3 ms·
Well, a C-style cast of a pointer to an instance of the derived class to the pointer to the base may not work in case of multiple inheritance, because it is equ
by Koshkin 7y ago
Well, a C-style cast of a pointer to an instance of the derived class to the pointer to the base may not work in case of multiple inheritance, because it is equivalent to reinterpret_cast which effectively does nothing, whereas static_cast will do the right thing.