Best way to add templated "intrinsic" functions?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Tue Jan 5 21:07:25 UTC 2021


On Tuesday, 5 January 2021 at 19:51:54 UTC, Ola Fosheim Grøstad 
wrote:
> Ok, so if they are marked as always-inline then they won't be 
> generated for linking even though they are present in object.d? 
> Or do I have to mark them in a special way to avoid 
> library-code-gen?

Never mind, this was a stupid question. I did not mean 
library-code-gen as that is not possible for templated code, but 
code gen for the object file. I guess not, and even if, I guess 
ldc would prune it away during linkage. So never mind... :-)


More information about the digitalmars-d-ldc mailing list