force inline/not-inline

Tofu Ninja via Digitalmars-d digitalmars-d at puremagic.com
Tue Jul 28 07:32:11 PDT 2015


On Tuesday, 28 July 2015 at 13:30:52 UTC, Marc Schütz wrote:
> On Tuesday, 28 July 2015 at 12:46:25 UTC, Adrian Matoga wrote:
>> On Tuesday, 28 July 2015 at 02:05:56 UTC, Daniel Murphy wrote:
>>> "tcak"  wrote in message 
>>> news:psflpqqpsukpfgpzhngn at forum.dlang.org...
>>>
>>>> Why not like pragma(inline, [try | force | no]) ?
>>>
>>> Walter liked the boolean version, which is certainly better 
>>> than nothing.
>>
>> I regret I missed this pull request and the chance to vote for 
>> "always"/"never" proposed by yebblies, which hit the right 
>> neurons in reader's brain instantly, unlike the generic 
>> true/false.
>
> Someone made this exact suggestion in the PR, but as happens 
> with most sensible suggestions, it was shot down.

I feel like that is becoming a trend for D, lately it feels like 
the only things that end up making its way into the language are 
dirty hacks.


More information about the Digitalmars-d mailing list