vector<DWORD>::iterator it;
for(it=m_items.begin();it!=m_items.end();)
{
DWORD d = *it;
if(CData::_R(d+0x8C)<1)
{
it = m_items.erase(it);
continue;
}
++it;
}
iterator 容器元素遍历删除
最新推荐文章于 2020-10-29 21:03:42 发布
vector<DWORD>::iterator it;
for(it=m_items.begin();it!=m_items.end();)
{
DWORD d = *it;
if(CData::_R(d+0x8C)<1)
{
it = m_items.erase(it);
continue;
}
++it;
}