this is almost a workaround for the lack of named parameters
J
notavail at notavailable.com
Mon Mar 25 11:11:52 PDT 2013
On Monday, 25 March 2013 at 16:03:38 UTC, Jacob Carlborg wrote:
> On 2013-03-21 19:35, J wrote:
>
> [snip]
>
> I just noticed that Michel Fortin has implemented basic support
> for named parameters. I've updated his code to the latest DMD
> and pushed it to my fork:
>
> https://github.com/jacob-carlborg/dmd/commit/e363a093040c4b14e7e814027c3e199676c82820
>
> From the commit message:
>
> 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.
+1000
Excellent!
More information about the Digitalmars-d
mailing list