Hi, I already posted this same question on StackOverflow, since I have not
gotten an answer yet reposting it here too.
Suppose I am iterating over a boost::multi_index using one of the two
indices. Then if I start iterating using the other index and erasing an
element according some criteria, does that invalidate the upper iterator?
E.g.,
struct person {
string name;
string last_name;
string age;}
typedef multi_index<
person,
index_by<
ordered_non_unique