DIP 1019--Named Arguments Lite--Community Review Round 1
Andre Pany
andre at s-e-a-p.de
Sun Feb 17 19:44:16 UTC 2019
On Sunday, 17 February 2019 at 17:14:57 UTC, Yuxuan Shui wrote:
> On Sunday, 17 February 2019 at 13:44:09 UTC, Cym13 wrote:
>> [...]
>
> Sure, but it has the exactly same property as @named: it's
> opt-in.
>
> Yes, maybe you can do it with a one-liner (I don't know how.
> There doesn't seem to be a way to retrieve parameter names from
> a function), but that can't be easier than adding "@named".
>
>> [...]
>
> So it probably could be reused?
It already exists std.traits: ParameterIdentifierTuple
Kind regards
Andre
More information about the Digitalmars-d
mailing list