Alias/Ref Tuples ?

Joshua Reusch yoschi at arkandos.de
Fri Dec 16 05:00:11 PST 2011


Hello,

is there a way to say something like

---
int a, b;
AliasTuple!(a, b) = tuple(4,5);
assert(a == 4 && b == 5);
---

without having to write an own AliasTuple template ? I want to use it 
for functions returning multiple values.

Joshua Reusch


More information about the Digitalmars-d-learn mailing list