DIP56 - inlining
Zach the Mystic via Digitalmars-d
digitalmars-d at puremagic.com
Tue Feb 3 22:46:00 PST 2015
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."
It's a bikeshed argument, but why not:
pragma(inline, always); // warn if unable to inline
pragma(inline, never);
pragma(inline); // revert to default behavior
...?
I know `true` and `false` are keywords, but why confuse people?
What is a "true" inline?
More information about the Digitalmars-d
mailing list