5 ms·
It's useful for interfaces, e.g. virtual public IFoo, is it not?
by ioquatix 10y ago
It's useful for interfaces, e.g. virtual public IFoo, is it not?
- frozenport 10y agoInterfaces should have been compile time, but for reasons I don't know, they weren't implemented as such
- evanpw 10y agoWhat would that mean? No dynamic dispatch at all?
- frozenport 10y agoIt's possible to perform compile time de-virtualization. Half the time virtual is used to enforce inheritance rather than virtual dispatch.