Can one extend virtual interface without recompilation of client code?

A library provides a class with virtual functions. Can this class be extended with new virtual functions without recompiling binaries dynamically linked to the library?

I beleive this is not possible in standard. Are there platforms allowing this?

Would that be easier if new functions are only added to the end of the class body?

8
задан linuxbuild 20 April 2011 в 20:31
поделиться