On 8/27/13, <l...@luismarques.eu>"@puremagic.com <"\"Luís".Marques"> wrote:
>      // Not OK
>      int foo(int x, int y = x)
>      {
>          return x*y;
>      }

Personally I think a much more useful feature would be (and this
doesn't block this feature but it's related to default arguments):

struct S
{
    void foo(int x = this.y)
    {
    }

    int y;
}

Reply via email to