ChainTuple

Creates a generic tuple comprised of all elemetns of packed generic tuples packedTuples in sequence.

template ChainTuple (
packedTuples...
) if (
packedTuples.length &&
allTuple!(isPackedTuple, packedTuples)
) {}

Members

Aliases

ChainTuple
alias ChainTuple = MapTuple!(Func, packedTuples)
Undocumented in source.
Func
alias Func(alias packedTuple) = packedTuple.Tuple
Undocumented in source.

Examples

alias chain = ChainTuple!(packedExpressionTuple!(1, 2, 3), packedExpressionTuple!(4, 5));
static assert(chain == expressionTuple!(1, 2, 3, 4, 5));

Analog of $(STDREF range, chain) for generic tuples.

Meta