2 ms·Even easier (for D): foreach (i; 0 .. length) D takes care of selecting the correct type for `i`.by WalterBright 4y agoEven easier (for D): foreach (i; 0 .. length) D takes care of selecting the correct type for `i`.