On Tue, 09 Oct 2012 17:23:07 -0400, bearophile <bearophileh...@lycos.com>
wrote:
Andrei Alexandrescu:
Yes, we need next_permutation. It will be up to you to convince the
Grand Inquisition Committee of Reviewers that next_even_permutation is
necessary and/or sufficient.
I don't like the design of C++ STL here. Instead of a
next_permutation(), what about ranges that yield all permutations, all
adjacent permutations, all combinations?
Is there any advantage over having a function? I'd think you could easily
build a range based on the function, no?
-Steve