std::remove() 算法实际上并没有移除任何条目。相反,它将要被移除的条目移动到集合的末尾。你需要调用集合类的条目移除函数才能完成移除过程。

Last modified: Thursday, 30 January 2025, 3:54 PM