Affected subclause: [algorithms.general]
Change: Result state of inputs after application of some algorithms
. Rationale: 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 and
std::remove_if may leave the tail of the input sequence with a
different set of values than previously
.