On 8/27/13, <[email protected]>"@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;
}
