On Wednesday, 28 June 2017 at 12:19:31 UTC, vit wrote:
auto foo(alias F, T)(T x) { return x.foo(&F); }
With this definition foo!((x) => x+1)(3); doesn't work. Is there a way to solve this?
Balagopal Komarath via Digitalmars-d-learn Wed, 28 Jun 2017 23:46:29 -0700
On Wednesday, 28 June 2017 at 12:19:31 UTC, vit wrote:
auto foo(alias F, T)(T x) { return x.foo(&F); }
With this definition foo!((x) => x+1)(3); doesn't work. Is there a way to solve this?