RemoveAll
Removes all elements in the vector.
void RemoveAll( )
EX1
void vectorbase_RemoveAll_ex1() { vector<int> vnData = {1,2,3}; vnData.RemoveAll(); if(0 == vnData.GetSize()) out_str("Remove successed."); else out_str("Remove failed."); }
origin.h