DIP56 - inlining

Mike via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 3 21:00:31 PST 2015


On Wednesday, 4 February 2015 at 04:46:41 UTC, Walter Bright 
wrote:
>
> The pragma will cause it to ignore the cost function and always 
> inline it.

So, if pragma(inline, true) ignores the cost function, will it 
*always* inline it, or always apply the -inline compiler flag 
rules (whatever they are)?

If the former, then I have misunderstood DIP56 yet again.

If the latter, then yes, it could have been worded better.

Mike


More information about the Digitalmars-d mailing list