The second paragraph in this link on Abseil containers says:
For example, the Abseil containers often do not guarantee pointer stability after insertions or deletions.
What does pointer stability mean in this context?
Pointer stability” means that a pointer to an element remains valid (is not invalidated) so long as the element is present, allowing code to cache pointers to elements even when the underlying container is mutated. Saying that a container has pointer stability is the same as saying that it doesn’t move elements in memory; their addresses do not change. Pointer stability/invalidation is the same as reference stability/invalidation.
This is explanation from the page you posted: https://abseil.io/docs/cpp/guides/container (Abseil containers).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With