4 ms·
> by welding a vtable onto every type It's not true. Virtual methods table is present only for classes with at least one virtual method. Learn C++ properly be
by Panzerschrek 9mo ago
> by welding a vtable onto every type
It's not true. Virtual methods table is present only for classes with at least one virtual method. Learn C++ properly before doing such claims.
- tialaramex 9mo agoThe context you snipped is about dynamic dispatch, that is what you - as someone who has "learned C++ properly" apparently call "classes with at least one virtual method" and indeed the earlier comment calls "virtual interfaces".