24.4.2 Transformations - next_permutation
- next_permutation works in place
- Permutation is a reordering of values
- Sequence w/n elements has n! permutations
- An ordering can be placed on permutations:
- Ordered sequence is "first" permutation
- Sequence in reverse order is "last" permutation
- Returns false if there are no more permutations
prev
|top
|next