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.

779. Resolution of #283 incomplete

Section: 27.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 27.7.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.