J
Johannes Bauer
Hello group,
I currnetly have the following problem: I traverse a std::set using
iterators. During the traversal, I insert elements in the set.
1. Are the results well-defined?
2. Am I guaranteed to see all elements contained in the set during my
traversal? If not, what container makes such a guarantee (vector I assume?)
Kind regards,
Johannes
I currnetly have the following problem: I traverse a std::set using
iterators. During the traversal, I insert elements in the set.
1. Are the results well-defined?
2. Am I guaranteed to see all elements contained in the set during my
traversal? If not, what container makes such a guarantee (vector I assume?)
Kind regards,
Johannes