[Bug 58054] concurrent modifications of C++ collection during iteration