To remove an elements from a vector, we can use
v.erase(v.begin() + 1); // remove 2nd
Also I found a sentence as follows in some posts on this site (SO) (e.g this).
v.erase(&v[1]);
However, when I try to use the 2nd sentence, the compiler says "error: no matching function for call to std::vector)...
Is the 2nd sentence usable only on some limited environment?