Affected subclause: [algorithms.general]
Result state of inputs after application of some algorithms.
Required by new feature.
Effect on original feature:
A valid C++ 2003 program may detect that an object with a valid but
unspecified state has a different valid but unspecified state with this
revision of C++.
For example, std::remove
may leave the tail of the input sequence with a
different set of values than previously.