DIP56 Provide pragma to control function inlining

Andrei Alexandrescu SeeWebsiteForEmail at erdani.org
Sun Feb 23 20:18:25 PST 2014


On 2/23/14, 6:12 PM, Walter Bright wrote:
> On 2/23/2014 5:12 PM, Andrei Alexandrescu wrote:
>> This makes inlining dependent on previously-seen code. Would that make
>> parallel
>> compilation more difficult?
>
> I don't understand the question. Inlining always depends on the compiler
> having seen the function body.

Decision to inline at line 2000 may be caused by a pragma in line 2.

Andrei



More information about the Digitalmars-d mailing list