force inline/not-inline

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


On Tuesday, 28 July 2015 at 15:15:58 UTC, Steven Schveighoffer 
wrote:
> the only thing I can thing of is that true/false are (or have 
> the potential to be in this context) expressions, which means 
> one could use compile-time logic to specify inlining. The same 
> wouldn't be true of arbitrary identifiers.

Of course it would, e.g. if they are strings, or constants/types 
defined in druntime.

  — David


More information about the Digitalmars-d mailing list