Namespaces
Variants

Template:cpp/container/note iterator invalidation

From cppreference.com

Iterators and references to the erased element are invalidated. If the element is the last element in the container, the end() iterator is also invalidated. Other references and iterators are not affected.

[edit] [{{purge}}] Template documentation

This template contains the information about iterator invalidation of all containers.

Usage

{{cpp/container/note iterator invalidation|container_name|function_name}}

Morty Proxy This is a proxified and sanitized view of the page, visit original site.