On Monday, 24 March 2014 at 18:58:52 UTC, Michel Fortin wrote:
On 2014-03-24 16:42:59 +0000, Andrei Alexandrescu <[email protected]> said:

tuple()
tuple(a)
tuple(a, b)
tuple(a, b, c)

struct()
struct(a)
struct(a, b)
struct(a, b, c)

Tuples are actually nameless structs, no?

This whole point is that this part doesn't need any language semantic addition.

An unpacking syntax is a useful addition, and not especially related to tuples, as you could unpack arrays for instance.

Reply via email to