
Hi again,
Thanks for the answers, they helped my. Now I have come with some another probably stupid questions.
I've changed the initial example by adding some attribute to the element. Let's say int.
typedef std::string UserInfo;
typedef std::lessstd::string UserInfoLess;
typedef boost::multi_index_container<
std::pair
-----Original Message----- From: boost-users-bounces@lists.boost.org [mailto:boost-users- bounces@lists.boost.org] On Behalf Of Joaquin M Lopez Munoz Sent: Tuesday, October 13, 2009 8:16 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] multi_index_comtainer questions
Andrew Holden
writes: On Tuesday, October 13, 2009 9:53 AM, Vladimir Voronkov wrote:
Do iterators keep the property of set’s iterators that they remain valid after insertion of an element? [...]
As far as I know, all iterators to all indices of a multi-index remain valid unless they point to a deleted element.
This is correct.
Joaquín M López Muñoz Telefónica, Investigación y Desarrollo
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users