4 ms·
C++ supports multiple inheritance though. And it still does it with (multiple) vtables. Did you mean single dispatch?
by c-cube 5y ago
C++ supports multiple inheritance though. And it still does it with (multiple) vtables. Did you mean single dispatch?
- ummonk 5y agoNo, I just had an incorrect memory / mental model of how C++ vtables work.
- native_samples 5y agoYes, but multiple dispatch is much slower than single dispatch.