macro_rules! const_quicksort_adv {
($data:expr, $cmp:path) => { ... };
(@$depth:literal, $data:expr, $cmp:path) => { ... };
}Expand description
Sorts a const array or mutable slice as a const expression using quicksort.
The optional @ prefix parameter is the max stack size for recursion.
The first parameter is the data to be sorted.
The second parameter is the path identifying the macro which should be invoked to compare elements cmp!(a, b)