Utility function for generate a tuple of EnumeratePair from an input tuple. Each EnumeratePair will have an index attached to it
alias T = AliasSeq!(int, long, float); // (EnumeratePair!(0u, int), EnumeratePair!(1u, long), EnumeratePair!(2u, float)) alias T2 = staticEnumerate!T; foreach(id, EP; T2) { static assert(id == EP.id); static assert(is(EP.T == T[id])); }
See Implementation
Utility function for generate a tuple of EnumeratePair from an input tuple. Each EnumeratePair will have an index attached to it