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

Tejas notrealemail at gmail.com
Thu Sep 9 15:43:42 UTC 2021


On Thursday, 9 September 2021 at 14:37:04 UTC, Adam D Ruppe wrote:
> On Thursday, 9 September 2021 at 08:39:05 UTC, bauss wrote:
>> Here is a working example:
>
> That doesn't work with overloads, but yeah, it isn't too hard 
> to get a 90% solution in a few lines of library code.
>
>> But yeah it would be nice if we could have it built-in, which 
>> I don't think has been done.
>
> aye.

Think it would be nice to extend it so that we can get template 
arguments as well?

If we're thinking if implementing this thing, might as well go 
the full way


More information about the Digitalmars-d mailing list