Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
c-cube
· 4y ago · 0 comments
C++ supports multiple inheritance though. And it still does it with (multiple) vtables. Did you mean single dispatch?
Comments
[–]
ummonk
4y ago
No, I just had an incorrect memory / mental model of how C++ vtables work.
[–]
native_samples
4y ago
Yes, but multiple dispatch is much slower than single dispatch.