Finding class template instantiations via runtime reflection (for openmethods)

Jacob Carlborg doob at me.com
Wed Sep 27 14:35:00 UTC 2017


On 2017-09-26 18:08, Jean-Louis Leroy wrote:

> Ah, I suspected that. I don't want to go down that path, what of 
> Windows? But thanks anyway...

It's possible to do the same on Windows (using LoadLibrary instead of 
dlopen). You would need to have separate code for each binary format. On 
Windows there are two, OMF used by DigitalMars and COFF used by 
Microsoft. DMD can output both. Linux and FreeBSD use ELF.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list