[Issue 21011] Variant and tuples by index

d-bugmail at puremagic.com d-bugmail at puremagic.com
Mon Jul 6 16:38:19 UTC 2020


https://issues.dlang.org/show_bug.cgi?id=21011

--- Comment #2 from superDIMMaX <v.leolui at gmail.com> ---
And i confused. why this not working with any [] opIndex API and(or) why not
add tuples support? Variant know type Tuple!(int,int) and tuples have linear
layout - union{Tuple!(int,int) t; int[2] a} work fine

--


More information about the Digitalmars-d-bugs mailing list