Dynamic templated virtuals - I still often want them

Alexandru Ermicioi alexandru.ermicioi at gmail.com
Wed Jul 29 08:01:35 UTC 2020


On Tuesday, 28 July 2020 at 21:09:51 UTC, Steven Schveighoffer 
wrote:
>
> So it doesn't matter where the code is stored, it is already 
> concrete and part of the vtable.
>
> -Steve

Well it does. How do you plan to handle the case where Y library 
is already compiled (separately, or available as .lib with .di 
interface)? Vtable should already be defined, which means that 
upon loading of lib, main app needs to patch vtable with missing 
template specializations.

Best regards,
Alexandru.


More information about the Digitalmars-d mailing list