
26 Sep
2009
26 Sep
'09
9:15 p.m.
How can I create a map that has the same content as another rmap, except for a given key which has a new associated value ? I'm looking for something like replace_key<Key>(Sequence, Value) in the doc but I cannot find it. I think I can build it with push_back(erase_key<Key>(seq), make_pair<Key>(newval)) but if it already exists... Thanks, J-L