Trait or builtin that returns arguments passed to current function (if any)

bauss jj_1337 at live.dk
Mon Sep 13 12:09:14 UTC 2021


On Monday, 13 September 2021 at 11:43:10 UTC, max haughton wrote:
> On Wednesday, 8 September 2021 at 21:53:21 UTC, Per Nordlöw 
> wrote:
>> Adam, and like others including me, are longing for a 
>> trait/builtin [1] that returns the parameters passed to the 
>> function of the current scope (if any). Has such a thing been 
>> proposed previously?
>>
>> [1] 
>> http://dpldocs.info/this-week-in-d/Blog.Posted_2021_07_26.html#on-my-wish-list
>
> Implemented https://github.com/dlang/dmd/pull/13071

That is beautiful.

It looks so much better with compiler support!


More information about the Digitalmars-d mailing list