Boost logo

Boost Users :

Subject: Re: [Boost-users] [multi_index] Is replace() ok within container iteration loop?
From: Igor R (boost.lists_at_[hidden])
Date: 2010-03-17 15:30:10


> This question is about boost:multi_index_container. Code is iterating
> over a multi_index_container and replacing some elements. The data
> being replaced has nothing to do with any keys/indices. Is this allowed by multi_index_container?

It's allowed even if it affects indices, all the more so if it doesn't.
http://www.boost.org/doc/libs/1_42_0/libs/multi_index/doc/tutorial/basics.html#ord_updating


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