I'm trying to delete an element from the middle of a vector, and from the documentation it looks like vector::erase will do it. But when I try it I get an ...