// OK
int foo(int x, int y = x)()
{
return x*y;
}
// Not OK
int foo(int x, int y = x)
{
return x*y;
}
When I noticed this it seemed arbitrary, but maybe there's a
reason?
// OK
int foo(int x, int y = x)()
{
return x*y;
}
// Not OK
int foo(int x, int y = x)
{
return x*y;
}
When I noticed this it seemed arbitrary, but maybe there's a
reason?