彻底掌握erase函数
今天又遇到erase问题,以前存在着一些疑惑,今天决定将其彻底弄清楚,首先看看函数的声明:#include iterator erase( iterator loc );iterator erase( iterator start, iterator end );The erase() function either deletes the element at location loc, o