Jacob Carlborg:

Here's another workaround: https://github.com/jacob-carlborg/mambo/blob/master/mambo/util/Reflection.d#L135

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.

Bye,
bearophile

Reply via email to