staticRobin

Compile-time variant of std.range.robin for expression ExpressionLists.

Template expects StrictExpressionList list as parameter and returns new expression list where first element is from first expression ExpressionList, second element is from second ExpressionList and so on, until one of input ExpressionLists doesn't end.

template staticRobin (
SF...
) {}

Members

Aliases

staticRobin
alias staticRobin = robin!0
Undocumented in source.

Manifest constants

minLength
enum minLength;
Undocumented in source.

Examples

Example

alias test = staticRobin!(StrictExpressionList!(int, int, int), StrictExpressionList!(float, float));
static assert(is(test == ExpressionList!(int, float, int, float)));

alias test2 = staticRobin!(StrictExpressionList!(1, 2), StrictExpressionList!(3, 4, 5), StrictExpressionList!(6, 7));
static assert([test2]== [1, 3, 6, 2, 4, 7]);

Meta