DIP56 Provide pragma to control function inlining

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Feb 23 12:31:21 PST 2014


On Sunday, 23 February 2014 at 20:29:19 UTC, Walter Bright wrote:
> I'll add:
>
>     pragma(inline);

That's just going to confuse people, because they'll think *this* 
forces inlining.

I'd prefer 3 separate states. pragma(inline), pragma(no_inline), 
and pragma(default_inline) or something like that.


More information about the Digitalmars-d mailing list