downs:
> auto dg = &foo /rfix/ somevar; // 1.0, tools
> auto dg = _bind(&foo, _1, somevar); // 1.0, std.bind
> auto dg = (int a) { return foo(a, somevar); }; // 2.0, literal
I like none of those :-) (but the 2.0 literal is a bit better).
Bye,
bearophile