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 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.