CSWAP

Macro CSWAP 

Source
macro_rules! CSWAP {
    ($arr:expr, $i:expr, $j:expr) => { ... };
}
Expand description

Syntactic sugar for arr.cswap(i,i,a[i]>a[j])