DIP56 - inlining

an via Digitalmars-d digitalmars-d at puremagic.com
Tue Feb 3 15:34:15 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."

Pragmas can be used as attribute that doesn't affect the 
semantics. This syntax is not supported in this DIP?

pragma(inline, true)
{
void foo() { }
void bar() { }
}


More information about the Digitalmars-d mailing list