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 5289650 commit 87d89efCopy full SHA for 87d89ef
source/algorithms.tex
@@ -233,7 +233,9 @@
233
\end{codeblock}
234
For each iterator \tcode{i} and sentinel \tcode{s}
235
produced from a range \tcode{r},
236
-the semantics of \tcode{s - i} has the same type, value, and value category
+the semantics of \tcode{s - i}
237
+are the same as those of an expression that
238
+has the same type, value, and value category
239
as \tcode{ranges::distance(i, s)}.
240
\begin{note}
241
The implementation can use \tcode{ranges::distance(r)}
0 commit comments