If elem1
and elem2
are equal, then no element will be removed from the container.
If elem2
or both elem1
and elem2
are the off-the-end iterator, then all elements from elem1
to the last element in the container will be removed.
If elem1
and elem2
are equal, then no element will be removed from the container.
If elem2
or both elem1
and elem2
are the off-the-end iterator, then all elements from elem1
to the last element in the container will be removed.