Implement & test std::replace & std::replace_if.