this is almost a workaround for the lack of named parameters

Jacob Carlborg doob at me.com
Thu Mar 21 13:57:35 PDT 2013


On 2013-03-21 21:33, bearophile wrote:

> Maybe such two links should go in one page of the D wiki about lack of
> named parameters workarounds.
>
> Eventually D should introduce a syntax for named arguments at the call
> point plus a syntax to deprecate argument names. It's not the most
> important thing that D currently lacks, but it's an improvement.

What do you think about my suggestion for anonymous structs as named 
parameters?

http://forum.dlang.org/thread/kfbnuc$1cro$1@digitalmars.com?page=1

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list