On Tuesday, 3 February 2015 at 22:30:22 UTC, Walter Bright wrote:
http://wiki.dlang.org/DIP56
There's been enough discussion, time to make a decision and
move on.
I changed the description to:
"If a pragma specifies always inline, and the compiler cannot
inline it, a warning will be generated. Implementations will
likely vary in their ability to inline."
I like it. This feels better than the C++ force_inline attribute
solution.
Would pragma(inline, <bool-expr>) be supported though? This would
allow to pass inlining as a template parameter (can be useful to
force recursive inlining, or to force inlining depending on the
call point).