On Sunday, 18 March 2012 at 16:02:04 UTC, Martin Nowak wrote:
Is this even possible without LTO/WPO? Extending a class defined in a library you link in (and for which codegen already happened) is certainly possible…DavidThis is not even possible with LTO because new classes could be loaded at runtime.
Sure, you can't just devirtualize everything you come across even with LTO, but it greatly increases the portion of calls where you can deduce the actual type of an instance.
David