force inline/not-inline

David Nadlinger via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 28 14:24:29 PDT 2015


On Tuesday, 28 July 2015 at 15:56:52 UTC, Jonathan M Davis wrote:
> It[Accepting Booleans]'s far more flexible in generic code.

It's the other way round. pragma(inline) has currently *three* 
behaviors:

pragma(inline);
pragma(inline, true);
pragma(inline, false);

There is no way to represent those as a single boolean.

  — David


More information about the Digitalmars-d mailing list