Attaches a numeric index to each element from Args.
$(D_PSYMBOL EnumerateFrom) returns a sequence of tuples ($(D_PSYMBOL Pack)s) consisting of the index of each element and the element itself.
Enumeration initial value.
Enumerated sequence.
static assert(EnumerateFrom!(0, int, uint, bool).length == 3);
alias Expected = AliasSeq!(Pack!(cast(size_t) 0, int), Pack!(cast(size_t) 1, uint)); static assert(is(EnumerateFrom!(0, int, uint) == Expected));
$(D_PSYMBOL Enumerate).
See Implementation
Attaches a numeric index to each element from Args.
$(D_PSYMBOL EnumerateFrom) returns a sequence of tuples ($(D_PSYMBOL Pack)s) consisting of the index of each element and the element itself.