Standard C++ Library Copyright 1998, Rogue Wave Software, Inc.
permutation - Generates successive permutations of a sequence based on an ordering function. See the entries for next_permutation and prev-_permutation.