Best way to add templated "intrinsic" functions?

Ola Fosheim Grøstad ola.fosheim.grostad at gmail.com
Sun Jan 3 16:54:57 UTC 2021


I want to add templated functions that always should be inlined, 
basically templated functions that have special syntax added for 
it in the parser.

What is the best way to go about this? Is there a better way than 
adding the functions to object.d in the d-runtime and mark them 
as "pragma(inline,true"?

Maybe not a LDC specific question.



More information about the digitalmars-d-ldc mailing list