2 ms·
The simplest one is probably to count the number of iterators and refuse to reallocate when it's more than zero. Of course, many data structures could be adjus
by Dylan16807 3y ago
The simplest one is probably to count the number of iterators and refuse to reallocate when it's more than zero.
Of course, many data structures could be adjusted so that iterators don't need to be invalidated.