|
|
От: |
rg45
|
|
| Дата: | 09.10.17 08:32 | ||
| Оценка: | |||
Despite appearances, iterator invalidation doesn't prohibit this — when you call push_back(), the value is valid, so the implementation has to ensure that if it triggers a reallocation, it doesn't accidentally invalidate the element.