On Wednesday, 6 August 2014 at 05:45:09 UTC, Tobias Pankrath wrote:
From the PR:

---
A better way to bind multiple arguments would be:

((int x = 2,
  int y = 3,
 ) => (x * y))()
---

Could we make this possible?

This is already possible - the problem is that type inference doesn't work here, so we can't do

    ((auto x = 2,
      auto y = 3,
     ) => (x * y))()

Reply via email to