force inline/not-inline

Meta via Digitalmars-d digitalmars-d at puremagic.com
Wed Jul 29 15:08:54 PDT 2015


On Wednesday, 29 July 2015 at 18:34:34 UTC, David Nadlinger wrote:
> Unless I misread the source, it does not mean that at all. 
> Instead, it leads to the same behavior as if no pragma(inline) 
> was specified at all, i.e. use the normal heuristics if -inline 
> is specified, and do not do any inlining otherwise.
>
>  — David

Does anybody know what happens when you annotate a unittest with 
pragma(inline, true)? Unittests are functions as well, right?


More information about the Digitalmars-d mailing list