On Sunday, 5 February 2017 at 20:36:57 UTC, Mark Fisher wrote:
static auto ref BindArg(alias Func,alias arg,args...)() { return Func(arg,args); }
[...]
BindArg(f,"1",2,3);
You forgot an exclamation mark there: BindArg!(f,"1",2,3);
ag0aep6g via Digitalmars-d-learn Sun, 05 Feb 2017 13:56:27 -0800
On Sunday, 5 February 2017 at 20:36:57 UTC, Mark Fisher wrote:
static auto ref BindArg(alias Func,alias arg,args...)() { return Func(arg,args); }
[...]
BindArg(f,"1",2,3);
You forgot an exclamation mark there: BindArg!(f,"1",2,3);