21 Feb
2007
21 Feb
'07
5:26 p.m.
On Wed, 21 Feb 2007 19:10:03 +0200, Joaquín Mª López Muñoz
[...] struct null_modifier { template<typename T> void operator()(const T&)const{} };
...
m2.modify(it2,null_modifier());
which forces reindexation without actually touching *it2. Is this what you're after? Thanks for using Boost.MultiIndex,
Okay, thanks! I thought there might be something else like m2.refresh(). It would be nice if the multi_index_container provided such a method as you could change objects hold by the container directly (not through multi_index_container methods) and then make the container recreate the indexes. Thanks for your nice library, :) Boris