[diff.cpp03.algorithms]

# Annex C (informative) Compatibility [[diff]](./#diff)

## C.6 C++ and ISO C++ 2003 [[diff.cpp03]](diff.cpp03#algorithms)

### C.6.13 [[algorithms]](algorithms "26 Algorithms library"): algorithms library [diff.cpp03.algorithms]

[1](#1)

[#](http://github.com/Eelis/draft/tree/9adde4bc1c62ec234483e63ea3b70a59724c745a/source/compatibility.tex#L2648)

**Affected subclause:** [[algorithms.general]](algorithms.general)  


**Change:** Result state of inputs after application of some algorithms[.](#1.sentence-1)

  


**Rationale:** Required by new feature[.](#1.sentence-2)

  


**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++[.](#1.sentence-3)

For example, std​::​remove andstd​::​remove_if may leave the tail of the input sequence with a
different set of values than previously[.](#1.sentence-4)
