next_permutation « STL Algorithms Helper « C++






1.Illustrating the generic next_permutation algorithms
2.Use next_permutation to permute elements until they are sorted