DIP56 Provide pragma to control function inlining

bearophile bearophileHUGS at lycos.com
Sun Feb 23 17:55:43 PST 2014


Andrei Alexandrescu:

> I've always thought the obvious/simple way would be an 
> attribute such as @forceinline and @noinline that applies to 
> individual functions.

Seems good. And what do you think the D compiler should do when 
you use @forceinline and it can't inline?

Bye,
bearophile


More information about the Digitalmars-d mailing list