DMD hackers: pragma(address): Is this possible?

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Tue Nov 25 11:08:41 PST 2014


"Johannes Pfau"  wrote in message news:m5288s$l8$1 at digitalmars.com...

> No, unfortunately not. The module where the template is instantiated
> needs to be the 'main' module. Or rather toObjfile must have been
> called on the function for backend inlining. Unfortunately this seems
> to be a complicated task.

Would it make sense to always call toObjfile for always-inline template 
functions?  That should be harmless... 



More information about the Digitalmars-d mailing list