Le 24/09/2012 01:28, Timon Gehr a écrit :
I agree with Andrei. Single element tuples need to support the same operations as tuples of other arities do.
Obviously it should. The whole point is that you can implicitly cast a 1 element tuple into the element and vice versa.
like : (int) a = (3); // a is a tuple of 1 element. int b = a; // Implicit tuple unpack. a = b; // Implicit tuple packing.