[libcxx-commits] [PATCH] D129859: [libc++][ranges] Implement `ranges::{prev, next}_permutation`
Louis Dionne via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Aug 2 14:28:29 PDT 2022
ldionne accepted this revision.
ldionne added inline comments.
This revision is now accepted and ready to land.
================
Comment at: libcxx/test/std/algorithms/alg.sorting/alg.permutation.generators/ranges.prev_permutation.pass.cpp:87
+ // exists.
+ // The number of permutations must equal `!N`. `run_prev_permutation` checks that each previous permutation is
+ // lexicographically less than the previous. If these two conditions hold (the number of permutations is `!N`, and
----------------
Applies in a few places.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129859/new/
https://reviews.llvm.org/D129859
More information about the libcxx-commits
mailing list