You could loop through the vector and call delete(*element) (or free(), remove() or erase()) on each element.
You could loop through the vector and call delete(*element) (or free(), remove() or erase()) on each element.