DIP56 - inlining

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

We have an attribute system, why make this a pragma ?

Also, this is going to be a challenge to detect if something have 
been inlined unless inlining is done in the frontend.


More information about the Digitalmars-d mailing list