3 ms·
It also works that way in reverse when objects are destructing, and applies to dynamic_cast in addition to vtable dispatch. While the idea is reasonable on its
by int_19h 4y ago
It also works that way in reverse when objects are destructing, and applies to dynamic_cast in addition to vtable dispatch.
While the idea is reasonable on its face, it's convoluted enough in practice that it used to be a common source of interview gotchas, so I'm not sure that it fixes more problems than it creates in practice.