1 alias R = Region!(int, int); 2 alias TI = R.TaggedInterval; 3 4 R emptyRegion; 5 TI emptyTI; 6 auto region = R(0, 0, 10); 7 auto ti = TI(0, 0, 10); 8 9 assert(empty(emptyRegion)); 10 assert(empty(emptyTI)); 11 assert(!empty(region)); 12 assert(!empty(ti));
Region.opBinary!"|", Region.TaggedInterval.opBinary!"|"
Returns the union of all elements.