Definition at line 219 of file monsort.hpp.
223{
231 for (;;)
232 {
234 {
235 for (
j =
l + 1;
j <=
ir;
j++)
236 {
238 for (
i =
j - 1;
i >=
l;
i--)
239 {
241 if (
M->compare(
elems[
i],
a) <= 0)
break;
243 }
245 }
249 }
250 else
251 {
256 {
258 }
261 {
263 }
266 {
268 }
272 for (;;)
273 {
274 do
277 do
282 }
288 {
291 }
292 if (
ir -
i + 1 >=
j -
l)
293 {
297 }
298 else
299 {
303 }
304 }
305 }
308 "quicksort: len = %ld ncmps = %ld 2*depth = %d\n",
312}
#define newarray_atomic(T, len)
References elems, freemem(), len, M, newarray_atomic, NSTACK, SWAP, and THRESH.
Referenced by sort().