DIP56 Provide pragma to control function inlining

Walter Bright newshound2 at digitalmars.com
Sun Feb 23 04:47:25 PST 2014


On 2/23/2014 4:25 AM, Benjamin Thaut wrote:
> Why a pragma? Can't we use a UDA and give it some special meaning inside the
> compiler?

This shouldn't be an attribute, it's a hint to the compiler optimizer. Pragma is 
ideally suited to that.


More information about the Digitalmars-d mailing list