ZipTuple

Creates a generic tuple comprised of packed generic tuples comprised of elemetns of packed generic tuples packedTuples taken in lockstep.

If stoppingPolicy is StoppingPolicy.longest and a tuple is finished in a lockstep iteration then empty will be taken.

Members

Aliases

ZipTuple
alias ZipTuple = ZipTuple!(StoppingPolicy.shortest, packedTuples)
Undocumented in source.

Examples

alias packed1 = packedExpressionTuple!(1, 2, 3);
alias packed2 = PackedTypeTuple!(short, int, long);
alias zip = ZipTuple!(packed1, packed2);

static assert(zip[0].equals!(1, short));
static assert(zip[1].equals!(2, int));
static assert(zip[2].equals!(3, long))

Analog of $(STDREF range, zip) for generic tuples except empty value must be explicitly specified for StoppingPolicy.longest.

Meta