Fix list/forward_list implementations of remove_if and unique to deal with predicates that are part of the sequence passed in. We already do this for remove.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@358534 91177308-0d34-0410-b5e6-96231b3b80d8
6 files changed