Boost logo

Boost Users :

Subject: Re: [Boost-users] [MultiIndex] Prevent automatic re-indexing after "modify"?
From: Leon Mlakar (leon_at_[hidden])
Date: 2016-12-14 09:00:27


> Therefore, my question really is:
>
> Is it possible to provide an "unsafe_modify" function, which does the
> same as "modify" but does not trigger automatic re-indexing, and an
> "refresh_index" function, which (manually) triggers the re-indexing?
>

I second this idea. Hit the same issue not so long ago. Or event better,
something like modify_range(<first>, <last>, <modifier>) that would
automatically re-index after modifying entire range thus avoiding the
danger of user forgetting to re-index.

Best regards,
Leon


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net