mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-01 10:29:16 +00:00
fix(kernel/std): 🎨 reorder is_sorted_until function declaration
This commit is contained in:
@ -444,15 +444,6 @@ namespace std
|
||||
};
|
||||
}
|
||||
|
||||
template <class ForwardIt>
|
||||
ForwardIt is_sorted_until(ForwardIt first, ForwardIt last)
|
||||
{
|
||||
return is_sorted_until(first, last, detail::__algo_less<>());
|
||||
}
|
||||
|
||||
template <class ExecutionPolicy, class ForwardIt>
|
||||
ForwardIt is_sorted_until(ExecutionPolicy &&policy, ForwardIt first, ForwardIt last);
|
||||
|
||||
template <class ForwardIt, class Compare>
|
||||
ForwardIt is_sorted_until(ForwardIt first, ForwardIt last, Compare comp)
|
||||
{
|
||||
@ -469,6 +460,15 @@ namespace std
|
||||
return last;
|
||||
}
|
||||
|
||||
template <class ForwardIt>
|
||||
ForwardIt is_sorted_until(ForwardIt first, ForwardIt last)
|
||||
{
|
||||
return is_sorted_until(first, last, detail::__algo_less<>());
|
||||
}
|
||||
|
||||
template <class ExecutionPolicy, class ForwardIt>
|
||||
ForwardIt is_sorted_until(ExecutionPolicy &&policy, ForwardIt first, ForwardIt last);
|
||||
|
||||
template <class ExecutionPolicy, class ForwardIt, class Compare>
|
||||
ForwardIt is_sorted_until(ExecutionPolicy &&policy, ForwardIt first, ForwardIt last, Compare comp);
|
||||
|
||||
|
Reference in New Issue
Block a user