this is almost a workaround for the lack of named parameters

renoX renozyx at gmail.com
Tue Mar 26 02:31:51 PDT 2013


On Monday, 25 March 2013 at 16:03:38 UTC, Jacob Carlborg wrote:
[cut]
> Add basic support for named parameters.
>
> This will only allow to add the name of the parameter
> when calling a function. It doesn't not support passing
> the arguments out of order.
>
> All credit goes to Michel Fortin.

Interesting, the "doesn't not support passing the arguments out 
of order." can be seen either as a (temporary or not) 
implementation limitation OR as a feature.

The things to check is how this feature would work with optional 
parameters..

renoX


More information about the Digitalmars-d mailing list