$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [fusion] "modify" value in map
From: Jean-Louis Leroy (jl_at_[hidden])
Date: 2009-09-26 17:15:05
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