Skip to content

Commit af56347

Browse files
committed
[range.take.overview] Avoid highlighting single evaluation of "F"
"F" appears only once in the expression, so there is no implication it might be evaluated multiple times. Introduced by LWG3407.
1 parent e231155 commit af56347

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/ranges.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4516,7 +4516,7 @@
45164516
then
45174517
\tcode{ranges::iota_view(*ranges::begin(E),
45184518
*(ranges::begin(E) + std::\linebreak{}min<D>(ranges::distance(E), F)))},
4519-
except that \tcode{E} and \tcode{F} are each evaluated only once;
4519+
except that \tcode{E} is evaluated only once;
45204520

45214521
\item
45224522
Otherwise, \tcode{ranges::take_view(E, F)}.

0 commit comments

Comments
 (0)