转自:https://blog.csdn.net/KFLING/article/details/80187847,
1.介绍
#include <algorithm>
remove_if(begin,end,op);//(迭代器-开始位置,迭代器-终止位置,回调函数)
如果回调函数返回为真,则将当前所指向的参数移到尾部。
转自:https://blog.csdn.net/KFLING/article/details/80187847,
#include <algorithm>
remove_if(begin,end,op);//(迭代器-开始位置,迭代器-终止位置,回调函数)
如果回调函数返回为真,则将当前所指向的参数移到尾部。