On 2/4/15 1:46 AM, Zach the Mystic wrote:
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?

enum always = true;
enum never = false;

-Steve

Reply via email to