[libcxx-commits] [libcxx] [libcxx][algorithm] Optimize std::stable_sort via radix sort algorithm (PR #104683)
Дмитрий Изволов via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Jan 7 02:58:27 PST 2025
================
@@ -50,16 +50,16 @@ template <class RI>
void
test_sort_driver_driver(RI f, RI l, int start, RI real_last)
{
- for (RI i = l; i > f + start;)
- {
- *--i = start;
- if (f == i)
- {
- test_sort_helper(f, real_last);
- }
+ typedef typename std::iterator_traits<RI>::value_type value_type;
----------------
izvolov wrote:
Done.
https://github.com/llvm/llvm-project/pull/104683
More information about the libcxx-commits
mailing list