this is almost a workaround for the lack of named parameters

Jacob Carlborg doob at me.com
Sat Mar 23 08:43:46 PDT 2013


On 2013-03-22 21:02, Dmitry Olshansky wrote:

> Can opDispatch & chaining  be leveraged to get the effect of:
> named!(fun).x(10).y(20).call();

Here you go:

http://pastebin.com/ALaXLgt3

Use that together with "callNamed" from timotheecour.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list