diff --git a/stl/inc/xutility b/stl/inc/xutility index 078bb1879b..6f8fc7c442 100644 --- a/stl/inc/xutility +++ b/stl/inc/xutility @@ -4346,15 +4346,6 @@ _CONSTEXPR20 _BidIt2 copy_backward(_BidIt1 _First, _BidIt1 _Last, _BidIt2 _Dest) return _Dest; } -#if _HAS_CXX17 -template = 0> -_BidIt2 copy_backward(_ExPo&&, _BidIt1 _First, _BidIt1 _Last, _BidIt2 _Dest) noexcept /* terminates */ { - // copy [_First, _Last) backwards to [..., _Dest) - // not parallelized as benchmarks show it isn't worth it - return _STD copy_backward(_First, _Last, _Dest); -} -#endif // _HAS_CXX17 - template _CONSTEXPR20 _OutIt _Move_unchecked(_InIt _First, _InIt _Last, _OutIt _Dest) { // move [_First, _Last) to [_Dest, ...) @@ -4428,15 +4419,6 @@ _CONSTEXPR20 _BidIt2 move_backward(_BidIt1 _First, _BidIt1 _Last, _BidIt2 _Dest) return _Dest; } -#if _HAS_CXX17 -template = 0> -_BidIt2 move_backward(_ExPo&&, _BidIt1 _First, _BidIt1 _Last, _BidIt2 _Dest) noexcept /* terminates */ { - // move [_First, _Last) backwards to [..., _Dest) - // not parallelized as benchmarks show it isn't worth it - return _STD move_backward(_First, _Last, _Dest); -} -#endif // _HAS_CXX17 - template struct _Is_character : false_type {}; // by default, not a character type diff --git a/tests/std/include/instantiate_algorithms.hpp b/tests/std/include/instantiate_algorithms.hpp index 5d19929cb3..577a1487dd 100644 --- a/tests/std/include/instantiate_algorithms.hpp +++ b/tests/std/include/instantiate_algorithms.hpp @@ -582,27 +582,9 @@ namespace std_testing { #endif // _HAS_CXX17 } -#if HAS_PARALLEL_ALGORITHMS - template - void test_exec_bid1_bid2_xxx_backward(ExecutionPolicy&& exec, Bid1 bid1, Bid2 bid2) { - // SPLIT_MODE 2 - std::copy_backward(std::forward(exec), bid1, bid1, bid2); - std::move_backward(std::forward(exec), bid1, bid1, bid2); - } -#endif // HAS_PARALLEL_ALGORITHMS - template void test_bid1_bid2_xxx_backward(Bid1 bid1, Bid2 bid2) { // SPLIT_MODE 2 -#if HAS_PARALLEL_ALGORITHMS - test_exec_bid1_bid2_xxx_backward(std::execution::seq, bid1, bid2); - test_exec_bid1_bid2_xxx_backward(std::execution::par, bid1, bid2); - test_exec_bid1_bid2_xxx_backward(std::execution::par_unseq, bid1, bid2); -#if _HAS_CXX20 - test_exec_bid1_bid2_xxx_backward(std::execution::unseq, bid1, bid2); -#endif // _HAS_CXX20 -#endif // HAS_PARALLEL_ALGORITHMS - std::copy_backward(bid1, bid1, bid2); std::move_backward(bid1, bid1, bid2); } diff --git a/tests/std/tests/Dev11_0253803_debug_pointer/test.cpp b/tests/std/tests/Dev11_0253803_debug_pointer/test.cpp index 637cd1f97d..6e66216ced 100644 --- a/tests/std/tests/Dev11_0253803_debug_pointer/test.cpp +++ b/tests/std/tests/Dev11_0253803_debug_pointer/test.cpp @@ -321,9 +321,7 @@ int main() { copy(par, nil, nil, nil); copy_if(par, nil, nil, nil, pred); copy_n(par, nil, zero, nil); - copy_backward(par, nil, nil, nil); move(par, nil, nil, nil); - move_backward(par, nil, nil, nil); swap_ranges(par, nil, nil, nil); transform(par, nil, nil, nil, unop); transform(par, nil, nil, nil, nil, binop);