I am currently using map<int, int>
in C++. I can check for the existence of a key without a problem but is there an efficient way to retrieve the keys that a particular value has as well? My purpose is to grab all the elements with a given value and then update their value.
views:
78answers:
1@Fred: Thanks. Will look into it now and get back.
Legend
2010-10-03 03:48:47
this is definitely very useful +1
Chubsdad
2010-10-03 05:14:40