DIP56 Provide pragma to control function inlining

Walter Bright newshound2 at digitalmars.com
Sun Feb 23 18:12:35 PST 2014


On 2/23/2014 5:47 PM, Lionello Lunesu wrote:
> On 24/02/14 06:12, Walter Bright wrote:
>> On 2/23/2014 1:41 PM, Namespace wrote:
>>> pragma(inline, true);
>>> pragma(inline, false);
>>> pragma(inline, default);
>>
>> 'default' being a keyword makes for an ugly special case in how pragmas
>> are parsed.
>>
>
> Aren't true and false keywords as well?

Yes, but the are also expressions. default is not.


More information about the Digitalmars-d mailing list