On Monday, 24 March 2014 at 04:04:55 UTC, Andrei Alexandrescu
wrote:
On 3/23/14, 8:22 PM, Etienne Cimon wrote:
How about allowing it only inside parenthesis?

That works but breaks more valid code. -- Andrei

I don't think so. Tuple literal syntax would presumably use
parenthesis:

int i;
float j;
(i, j) = func_returning_tuple();
auto (a,b,c) = another_func();
(x, y) = (y, x);

Keeping the operator inside parentheses would therefore kill
these options.

Reply via email to