DIP 1030--Named Arguments--Community Review Round 1 Discussion

Adam D. Ruppe destructionator at gmail.com
Tue Feb 11 00:46:23 UTC 2020


On Monday, 10 February 2020 at 23:48:05 UTC, Manu wrote:
> I showed an entire class of code that will be broken, you need 
> to have a response to that.

Take a look at how easy it is to write a full forwarder function:

https://forum.dlang.org/post/cfcgecteoeynumsamjwe@forum.dlang.org

Note that the parameter names of the wrapper as seen from the 
outside (or even the inside if you fetch it off that tuple) are 
identical to the original.

This has been defined in the language for years.


More information about the Digitalmars-d mailing list