Using an invalidated iterator is undefined, and likely to lead to the same kinds of problems as using a dangling pointer.
使用无效迭代器是没有定义的,可能会导致与悬垂指针相同的问题。
Using an invalidated iterator is undefined, and likely to lead to the same kinds of problems as using a dangling pointer.
使用无效迭代器是没有定义的,可能会导致与悬垂指针相同的问题。
应用推荐