typedef std::map<std::string,float> StringFloatMap;
StringFloatMap col1;
StringFloatMap::iterator pos; for(pos = col1.begin();pos!=col1.end();){
if(pos->second == value)
col1.erase(pos++);
else{
++pos;
}
}
2024-03-18 16:55:16
typedef std::map<std::string,float> StringFloatMap;
StringFloatMap col1;
StringFloatMap::iterator pos; for(pos = col1.begin();pos!=col1.end();){
if(pos->second == value)
col1.erase(pos++);
else{
++pos;
}
}