swap the two elements in a compile-time list indexed by i and j
static assert (is (Swap!(0,3, int, bool, char, byte) == Cons!(byte, bool, char, int))); static assert (Swap!(0,3, 0,1,2,3) == Cons!(3,1,2,0));
See Implementation
swap the two elements in a compile-time list indexed by i and j