consider an example where i have a map holding keys :1000,2000,10000,30000
mapped values are 1,2,3,4
ie:
1--- 10000
3-----10000
2----20000
4----30000
all i do to delete an elemnt is withy key 10000:
But wat if i want the 3-10000 pair to be deleted..Code:it= mymap.find(10000); mymap.erase(it);
but not 1-10000
can ialso specify the mapped value to delete the pair ...
If yes what snippet should i add to the above