memsetvector vector iterators incompatible