
7 May
2009
7 May
'09
5:31 p.m.
Mathias Gaunard wrote:
Steven Watanabe wrote:
AMDG
Mathias Gaunard wrote:
Tushar Chowdhury wrote:
As of now I failed to get such an algo.
boost::assign(m.equal_range(old_key), new_key); ?
?????
boost::assign is a namespace.
My bad, I meant 'fill', not 'assign'. I confused it with the assign member of containers.
I forgot to say that this was this a rough idea, and of course it doesn't work since map iterators are const, and since new_key is not the not the right type anyway. Sorry for the bad advice.