Currently this doesn't work, but I'd like to do this:

import std.typecons;
void main() {
    const int x = 1;
    const int y = 2;
    auto t = tuple(x, y);
}

Is it possible to modify the tuples to allow this?

Bye,
bearophile

Reply via email to