/llvm-project/libcxx/test/std/algorithms/alg.modifying.operations/alg.replace/ |
H A D | pstl.replace_copy.pass.cpp | 35 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(std::data(ou… in operator ()() 41 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(std::data(a)… in operator ()() 47 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(out.data()),… in operator ()() 54 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(std::data(ou… in operator ()() 61 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(std::data(ou… in operator ()() 68 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(std::data(ou… in operator ()() 76 …std::replace_copy(policy, Iter(std::data(a)), Iter(std::data(a) + std::size(a)), Iter(out.data()),… in operator ()()
|
H A D | ranges_replace_copy.pass.cpp | 42 std::ranges::replace_copy( 69 std::ranges::replace_copy(std::forward<Range>(range), std::forward<OutIter>(result), 0, 0); 112 …std::ranges::replace_copy(std::move(first), std::move(last), std::move(result), d.old_value, d.new… in test() 125 std::ranges::replace_copy(range, result, d.old_value, d.new_value); in test() 190 … auto ret = std::ranges::replace_copy(std::begin(a), std::end(a), std::begin(b), 1, S{2}, &S::i); in test() 198 auto ret = std::ranges::replace_copy(a, std::begin(b), 1, S{2}, &S::i); in test() 209 std::ranges::replace_copy( in test() 218 std::ranges::replace_copy(a, std::begin(b), 0, 0, counting_projection(proj_count)); in test() 235 std::ranges::replace_copy(std::begin(a), std::end(a), std::begin(b), S{}, T{}); in test() 241 std::ranges::replace_copy(a, std::begin(b), S{}, T{}); in test()
|
H A D | replace_copy.pass.cpp | 32 auto it = std::replace_copy(std::begin(ia), std::end(ia), std::begin(ib), 2, 5); in test_constexpr() 48 OutIter r = std::replace_copy(InIter(ia), InIter(ia+sa), OutIter(ib), 2, 5); in test()
|
/llvm-project/libcxx/test/libcxx/algorithms/ |
H A D | pstl.iterator-requirements.verify.cpp | 135 (void)std::replace_copy( in f() 137 (void)std::replace_copy( in f() 139 (void)std::replace_copy( in f()
|
H A D | ranges_robust_against_copying_projections.pass.cpp | 207 (void)std::ranges::replace_copy(first, last, first2, value, T(), Proj(&copies)); assert(copies == 0); in all_the_algorithms() 208 (void)std::ranges::replace_copy(a, first2, value, T(), Proj(&copies)); assert(copies == 0); in all_the_algorithms()
|
H A D | robust_against_cpp20_hostile_iterators.compile.pass.cpp | 185 (void) std::replace_copy(it, it, it, 0, 0); in test()
|
/llvm-project/pstl/test/std/algorithms/alg.modifying.operations/ |
H A D | replace_copy.pass.cpp | 36 auto i = std::replace_copy(first, last, expected_first, old_value, new_value); in operator ()() 37 auto k = std::replace_copy(exec, first, last, out_first, old_value, new_value); in operator ()()
|
/llvm-project/libcxx/include/__algorithm/ |
H A D | replace_copy.h | 21 inline _LIBCPP_HIDE_FROM_ABI _LIBCPP_CONSTEXPR_SINCE_CXX20 _OutputIterator replace_copy( in replace_copy() function
|
H A D | ranges_replace_copy.h | 79 inline constexpr auto replace_copy = __replace_copy{};
|
H A D | pstl.h | 490 _LIBCPP_REQUIRE_CPP17_OUTPUT_ITERATOR(_ForwardOutIterator, const _Tp&, "replace_copy requires an OutputIterator"); in replace_copy_if() 507 _LIBCPP_HIDE_FROM_ABI void replace_copy( in replace_copy() function 514 _LIBCPP_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardIterator, "replace_copy requires ForwardIterators"); in replace_copy() 515 _LIBCPP_REQUIRE_CPP17_FORWARD_ITERATOR(_ForwardOutIterator, "replace_copy requires ForwardIterators"); in replace_copy() 517 _ForwardOutIterator, decltype(*__first), "replace_copy requires an OutputIterator"); in replace_copy() 518 _LIBCPP_REQUIRE_CPP17_OUTPUT_ITERATOR(_ForwardOutIterator, const _Tp&, "replace_copy requires an OutputIterator"); in replace_copy()
|
/llvm-project/libcxx/test/std/algorithms/ |
H A D | ranges_robust_against_nonbool.compile.pass.cpp | 189 // replace_copy in f() 191 (void)std::ranges::replace_copy(it, it, out, val, val); in f() 192 (void)std::ranges::replace_copy(in, out, val, val); in f() 193 (void)std::ranges::replace_copy(it, it, out, val, val, projection); in f() 194 (void)std::ranges::replace_copy(in, out, val, val, projection); in f()
|
H A D | ranges_robust_against_proxy_iterators.pass.cpp | 139 test(std::ranges::replace_copy, in, out, x, x); in run_tests()
|
H A D | pstl.exception_handling.pass.cpp | 256 … (void)std::replace_copy(policy, std::move(first1), std::move(last1), std::move(dest), val, val); in main()
|
H A D | robust_against_adl.compile.pass.cpp | 178 (void)std::replace_copy(first, last, first2, value, value); in all_the_algorithms()
|
H A D | ranges_robust_against_omitting_invoke.pass.cpp | 143 test(std::ranges::replace_copy, in, out, x, a, &Bar::val); in test_all()
|
H A D | ranges_robust_against_dangling.pass.cpp | 164 dangling_1st<replace_copy_result<dangling, OutIter>>(std::ranges::replace_copy, in, out, x, x); in test_all()
|
H A D | robust_re_difference_type.compile.pass.cpp | 216 (void)std::replace_copy(first, last, first2, value, value); in all_the_algorithms()
|
H A D | robust_against_proxy_iterators_lifetime_bugs.pass.cpp | 716 test(simple_in, [&](I b, I e) { (void) std::replace_copy(b, e, out, x, y); }); in test()
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/boost/ |
H A D | use-ranges.rst | 82 ``std::replace_copy``,
|
/llvm-project/libcxx/modules/std/ |
H A D | algorithm.inc | 252 using std::replace_copy; 256 using std::ranges::replace_copy;
|
/llvm-project/libcxx/test/std/library/description/conventions/customization.point.object/ |
H A D | niebloid.compile.pass.cpp | 140 static_assert(test(std::ranges::replace_copy, a, a, 42, 43));
|
/llvm-project/libcxx/docs/Status/ |
H A D | PSTLPaper.csv | 52 | `[alg.replace] <https://wg21.link/alg.replace>`_,std::replace_copy,Nikolas Klauser,|Complete|
|
/llvm-project/libcxx/include/__filesystem/ |
H A D | path.h | 14 #include <__algorithm/replace_copy.h> 681 std::replace_copy(__pn_.begin(), __pn_.end(), __s.begin(), '\\', '/');
|
/llvm-project/pstl/include/pstl/internal/ |
H A D | glue_algorithm_defs.h | 188 replace_copy(_ExecutionPolicy&& __exec, _ForwardIterator1 __first, _ForwardIterator1 __last, _Forwa…
|
/llvm-project/libcxx/include/ |
H A D | algorithm | 1106 replace_copy(I first, S last, O result, const T1& old_value, const T2& new_value, 1115 replace_copy(R&& r, O result, const T1& old_value, const T2& new_value, 1385 replace_copy(InputIterator first, InputIterator last, OutputIterator result, 1895 # include <__algorithm/replace_copy.h>
|