We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6cbbb98 commit 796bbfcCopy full SHA for 796bbfc
source/ranges.tex
@@ -14602,9 +14602,9 @@
14602
Equivalent to:
14603
\begin{codeblock}
14604
auto& it = std::get<N>(@\exposid{current_}@);
14605
-if (it == ranges::begin(std::get<N>(@\exposid{parent_}@->@\exposid{bases_}@))) {
14606
- it = @\exposid{cartesian-common-arg-end}@(std::get<N>(@\exposid{parent_}@->@\exposid{bases_}@));
14607
- if constexpr (N > 0) {
+if constexpr (N > 0) {
+ if (it == ranges::begin(std::get<N>(@\exposid{parent_}@->@\exposid{bases_}@))) {
+ it = @\exposid{cartesian-common-arg-end}@(std::get<N>(@\exposid{parent_}@->@\exposid{bases_}@));
14608
@\exposid{prev}@<N - 1>();
14609
}
14610
0 commit comments