On 15 March 2014 04:02, Michel Fortin <michel.fortin@michelf.ca> wrote:
On 2014-03-14 17:57:59 +0000, Jacob Carlborg <doob@me.com> said:

int output = mixin func(10); // the 'mixin' keyword seems to kinda 'get

I think this is the best syntax of these three alternatives.

Maybe, but what does it do? Should it just inline the call to func? Or should it inline recursively every call inside func? Or maybe something in the middle?

I'd say it should inline only func. Any sub-calls are subject to the regular inline heuristics.