This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of CD1 status.
Section: 26.7.8 [alg.remove] Status: CD1 Submitter: Daniel Krügler Opened: 2008-01-25 Last modified: 2016-01-28
Priority: Not Prioritized
View all other issues in [alg.remove].
View all issues with CD1 status.
Discussion:
The resolution of 283(i) did not resolve similar necessary changes for algorithm
remove_copy[_if]
, which seems to be an oversight.
Proposed resolution:
In 26.7.8 [alg.remove] p.6, replace the N2461 requires clause with:
Requires:
TypeThe rangesT
isEqualityComparable
(31).[first,last)
and[result,result + (last - first))
shall not overlap. The expression*result = *first
shall be valid.