Template Function erase

Function Documentation

template<typename T>
void erase(vector<T> &x)

truly clears the vector: forces memory to be cleared