![]() |
HW2 | |
![]() |
HW1 | |
From the exam recap tutorial: | |
Its possible because all static_cast does in this case is compile code that dereferences the vbase pointer and thus upcasting the that virtual base. The cast itself occurs at runtime (same as dynamic_cast with slight changes) |