I have a std::multimap
on which I am iterating using a forward iterator.
std::multimap<int,char>::iterator it;
for(it=map.begin();it!=map.end();++it) {
// do something
}
Now I need to treat the first element differently and start iterating from the second element of the map. How do I do that?