JoinTuple

Creates a generic tuple comprised of packed generic tuples packedTuples generic tuples joined together using packed generic tuple packedSeparatorTuple as a separator.

Members

Aliases

JoinTuple
alias JoinTuple = GenericTuple!()
Undocumented in source.
JoinTuple
alias JoinTuple = GenericTuple!(packedTuples[0].Tuple, MapTuple!(Prefix, packedTuples[1..$]))
Undocumented in source.
Prefix
alias Prefix(alias packedTuple) = ChainTuple!(packedSeparatorTuple, packedTuple)
Undocumented in source.

Examples

alias sep = packedExpressionTuple!"+";
alias part1 = PackedTypeTuple!(void, int);
alias part2 = packedExpressionTuple!0;
static assert(PackedGenericTuple!(JoinTuple!(sep, part1, part2)).equals!(void, int, "+", 0));

Analog of $(STDREF array, join) and $(STDREF algorithm, joiner) for generic tuples.

Meta