this is almost a workaround for the lack of named parameters

Philippe Sigaud philippe.sigaud at gmail.com
Sun Mar 24 10:26:28 PDT 2013


On Sun, Mar 24, 2013 at 11:15 AM, Jacob Carlborg <doob at me.com> wrote:

>> auto result = nfoo(q{z = "Title", x = 1, y = 100}); // nfoo will parse
>> the input string
>>
>> I rather like this one. Why did you ditch it?
>
> That would requires compile time values, i.e. no variables.

You're right.


More information about the Digitalmars-d mailing list