std: add an external iterator for mutating vec elements