Given that the {.inline.} pragma basically just passes the inline "hint" to the 
C/C++ compiler, which might or might not decide to actually inline the 
function, doesn't it make more sense to instead use a template, which will 
actually "embed" the template code into the call location?

If that is correct, why would you ever want to use {.inline.} rather than a 
native nim template? Or perhaps I misunderstood the way templates work?

Reply via email to