On Saturday, 8 April 2017 at 10:02:01 UTC, Mike Parker wrote:

I would expect if you implement it as a function the compiler will inline it. You can always use the pragma(inline, true) [1] with -inline to verify.

[1] https://dlang.org/spec/pragma.html#inline

Thanks for mentioning pragma. However, anyway to do it with mixin? It's so cool so I want to do more stuffs with it :)

Reply via email to