// -*- C++ -*- //===-- replace_copy.pass.cpp ---------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // UNSUPPORTED: c++03, c++11, c++14 // Tests for replace_copy and replace_copy_if #include "support/pstl_test_config.h" #include <execution> #include <algorithm> #include "support/utils.h" usingnamespaceTestUtils; struct test_replace_copy { … }; template <typename T, typename Convert, typename Predicate> void test(T trash, const T& old_value, const T& new_value, Predicate pred, Convert convert) { … } template <typename T> struct test_non_const { … }; int main() { … }