Various funstions are included for debugging the hash based map, mulitpmap, set and multiset classes.
Invalidates all iterators.
If load_factor() attempts to grow larger than load_factor_limit(), then the table is rehashed which invalidates all iterators, else no iterators are invalidated.
Only the iterators to the erased elements are invalidated.
Invalidates all iterators.
Iterators remain valid, but they now point into the swapped container.