On Friday, 28 June 2013 at 19:39:41 UTC, Ellery Newcomer wrote:
However, they can return std.typecons.Tuple, so you could do this:

auto foo(int i, int j) {
    writeln(i, " ", j);
    return tuple(3,4);
}
void main() {
    foo(foo(1,2).field);
}


Hi Ellery,

Thanks for your help, it works nicely.

Reply via email to