<algorithm>: reverse_copy
optimization is not activated under C++20/C++23 mode
#2415
Labels
reverse_copy
optimization is not activated under C++20/C++23 mode
#2415
Describe the bug
STL/stl/inc/algorithm
Lines 4366 to 4387 in 2f9f567
There is an optimized code path in
reverse_copy
for contiguous ranges of small trivial types. However, for some reasons it is only activated under/std:c++14
and/std:c++17
, not under/std:c++20
or/std:c++latest
.Command-line test case
https://godbolt.org/z/9bc17xT8e
STL version
2f9f567
The text was updated successfully, but these errors were encountered: