Trait or builtin that returns arguments passed to current function (if any)
Dukc
ajieskola at gmail.com
Thu Sep 9 09:27:24 UTC 2021
On Thursday, 9 September 2021 at 09:22:35 UTC, Dukc wrote:
> Why it should be a built-in? Apart from that requirement,
> `Parameters!(mixin(__FUNCTION__))` does the trick. A bit
> verbose but not much more so than the `__traits(...)` built-ins.
Oh sorry, I see you meant an alias sequence to the parameters
directly, not just their types. My bad.
More information about the Digitalmars-d
mailing list