diff --git a/Kernel/include_std/algorithm b/Kernel/include_std/algorithm index 3404c007..ed1d7282 100644 --- a/Kernel/include_std/algorithm +++ b/Kernel/include_std/algorithm @@ -444,15 +444,6 @@ namespace std }; } - template - ForwardIt is_sorted_until(ForwardIt first, ForwardIt last) - { - return is_sorted_until(first, last, detail::__algo_less<>()); - } - - template - ForwardIt is_sorted_until(ExecutionPolicy &&policy, ForwardIt first, ForwardIt last); - template ForwardIt is_sorted_until(ForwardIt first, ForwardIt last, Compare comp) { @@ -469,6 +460,15 @@ namespace std return last; } + template + ForwardIt is_sorted_until(ForwardIt first, ForwardIt last) + { + return is_sorted_until(first, last, detail::__algo_less<>()); + } + + template + ForwardIt is_sorted_until(ExecutionPolicy &&policy, ForwardIt first, ForwardIt last); + template ForwardIt is_sorted_until(ExecutionPolicy &&policy, ForwardIt first, ForwardIt last, Compare comp);