Skip to content

Commit 62f0fe3

Browse files
committed
P1878R1 Constraining Readable Types
Instructions to change section names were ignored; the shorter section names are preferable, and the inclusion of 'iterator.' seems sufficient to indicate that we're talking about indirect reading and writing. Also fixes NB US 263, US 264, US 268 (C++20 CD), and LWG3279.
1 parent 09c91df commit 62f0fe3

File tree

2 files changed

+108
-93
lines changed

2 files changed

+108
-93
lines changed

source/algorithms.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,13 +222,13 @@
222222
If \range{a}{b} denotes a range,
223223
the semantics of \tcode{b - a} in these cases are the same as those of
224224
\begin{codeblock}
225-
iter_difference_t<remove_reference_t<decltype(a)>> n = 0;
225+
iter_difference_t<decltype(a)> n = 0;
226226
for (auto tmp = a; tmp != b; ++tmp) ++n;
227227
return n;
228228
\end{codeblock}
229229
and if \range{b}{a} denotes a range, the same as those of
230230
\begin{codeblock}
231-
iter_difference_t<remove_reference_t<decltype(b)>> n = 0;
231+
iter_difference_t<decltype(b)> n = 0;
232232
for (auto tmp = b; tmp != a; ++tmp) --n;
233233
return n;
234234
\end{codeblock}

0 commit comments

Comments
 (0)