Structured binding declaration (like in C++)

Vindex tech.vindex at gmail.com
Wed Oct 13 20:02:05 UTC 2021


Is there a decomposition for tuples and other data structures?

For example,
```
auto t = tuple(1, "2");
auto (x, y) = t; // or auto (x, y) = t.expand;
```


More information about the Digitalmars-d-learn mailing list