Vector
removeAt(removeAt(int i, int n = 1) [Vector template]
Removes n
elements (default" 1) at location i
(0 = beginning) from a vector.
If the original vector contained pointers such as Vector<void *>
, the pointers are not deleted or freed; you must maintain your own object lifecycle.
// PROTOTYPE
void removeAt(int i, int n = 1);