RoundRobinTuple

Creates a generic tuple comprised of all elemetns of packed generic tuples packedTuples in an order by analogy with Round-robin scheduling.

Members

Aliases

RoundRobinTuple
alias RoundRobinTuple = FilterTuple!(pred, ChainTuple!(ZipTuple!(StoppingPolicy.longest, GenericTuple!_Empty, packedTuples)))
Undocumented in source.

Enums

pred
eponymoustemplate pred(alias A)
Undocumented in source.

Structs

_Empty
struct _Empty
Undocumented in source.

Examples

alias roundRobin = RoundRobinTuple!(packedExpressionTuple!(1, 2, 3), packedExpressionTuple!(10, 20, 30, 40));
static assert(roundRobin == expressionTuple!(1, 10, 2, 20, 3, 30, 40));

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

Meta