46 template <
typename Iterator,
typename Compare>
54 for (
uint32 j = int_left; j < int_end; ++j)
57 if (i0 < int_right && (i1 >= int_end || (!(cmp( A[i1], A[i0] )))))
81 template <
typename Iterator,
typename Compare>
93 const uint32 nn = (n & 1) ? n-1 : n;
94 for (
uint32 i = 0; i < nn; i += 2u)
96 if (cmp( A[i+1], A[i] ))
98 typename std::iterator_traits<Iterator>::value_type tmp = A[i];