779. Resolution of #283 incomplete

Section: 28.6.8 [alg.remove] Status: CD1 Submitter: Daniel Krügler Opened: 2008-01-25 Last modified: 2016-02-10

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 28.6.8 [alg.remove] p.6, replace the N2461 requires clause with:

Requires: Type T is EqualityComparable (31). The ranges [first,last) and [result,result + (last - first)) shall not overlap. The expression *result = *first shall be valid.