Tuple opAssign type deduction

aldanor via Digitalmars-d digitalmars-d at puremagic.com
Tue Dec 23 16:16:33 PST 2014


alias T = Tuple!(int, "a", double, "b");
T foo = [1, 2]; // works
T bar;
bar = [1, 2]; // doesn't?

Wonder if there's an obvious reason to this?


More information about the Digitalmars-d mailing list