Boost logo

Boost Users :

Subject: Re: [Boost-users] [multi_index] Couple of questions on multi-index containers
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2014-09-29 13:47:41


On Mon, Sep 29, 2014 at 7:25 PM, Ovanes Markarian <om_boost_at_[hidden]>
wrote:

> Can I safely erase data from the index view in a range based for loop. The
> index container contains only ordered indices (no random access).

Looks like it is undefined behaviour with std::containers at least. I
assume with mi it'd be the same...



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