prev_permutation « STL Algorithms Helper « C++






1.Illustrating the generic prev_permutation algorithms
2.Use prev_permutation to permute until descending sorted
3.Use prev_permutation to permute elements until they are sorted in descending order