diff --git a/source/containers.tex b/source/containers.tex index b750486764..ca1531d778 100644 --- a/source/containers.tex +++ b/source/containers.tex @@ -4724,10 +4724,12 @@ \begin{itemdescr} \pnum \effects -Erases all but the first element from every consecutive -group of equal elements referred to by the iterator \tcode{i} in the range \range{first + -1}{last} for which \tcode{*i == *(i-1)} (for the version with no arguments) or \tcode{pred(*i, -*(i - 1))} (for the version with a predicate argument) holds. +Erases all but the first element from every consecutive group of equal elements. +That is, for a nonempty list, +erases all elements referred to by the iterator \tcode{i} +in the range \range{begin() + 1}{end()} +for which \tcode{*i == *(i-1)} (for the version with no arguments) or +\tcode{pred(*i, *(i - 1))} (for the version with a predicate argument) holds. Invalidates only the iterators and references to the erased elements. \pnum @@ -5416,10 +5418,14 @@ \pnum \effects Erases all but the first element from every -consecutive group of equal elements referred to by the iterator \tcode{i} in the range -\range{first + 1}{last} for which \tcode{*i == *(i-1)} (for the version of -\tcode{unique} with no arguments) or \tcode{pred(*i, *(i - 1))} (for the version of -\tcode{unique} with a predicate argument) holds. +consecutive group of equal elements. +That is, for a nonempty list, +erases all elements referred to +by the iterator \tcode{i} in the range \range{begin() + 1}{end()} for which +\tcode{*i == *(i-1)} +(for the version of \tcode{unique} with no arguments) or +\tcode{pred(*i, *(i - 1))} +(for the version of \tcode{unique} with a predicate argument) holds. Invalidates only the iterators and references to the erased elements. \pnum