Skip to content

Commit 7a55659

Browse files
Apply suggestions from code review
Co-authored-by: timsong-cpp <[email protected]>
1 parent 1bc93f4 commit 7a55659

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/iterators.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1343,7 +1343,7 @@
13431343
its range of representable values is
13441344
either $-2^{N-1}$ to $2^{N-1}-1$ (inclusive) for some integer $N$,
13451345
in which case it is a \defnadj{signed-integer-class}{type}, or
1346-
$0$ to $2^{N-1}$ (inclusive) for some integer $N$,
1346+
$0$ to $2^{N}-1$ (inclusive) for some integer $N$,
13471347
in which case it is an \defnadj{unsigned-integer-class}{type}.
13481348
In both cases, $N$ is called the width of the integer-class type.
13491349
The width of an integer-class type is greater than
@@ -1369,7 +1369,7 @@
13691369
meets the requirements on \tcode{numeric_limits} specializations
13701370
for integral types\iref{numeric.limits}.
13711371
\end{note}
1372-
For every integral type \tcode{J}, let B(J)c be the same type as \tcode{J}.
1372+
For every integral type \tcode{J}, let \tcode{B(J)} be the same type as \tcode{J}.
13731373

13741374
\pnum
13751375
Expressions of integer-class type are
@@ -1447,7 +1447,7 @@
14471447
\pnum
14481448
All integer-class types model
14491449
\libconcept{regular}\iref{concepts.object} and
1450-
\libconcept{three_way_comparable}<strong_ordering>\iref{cmp.concept}.
1450+
\tcode{\libconcept{three_way_comparable}<strong_ordering>}\iref{cmp.concept}.
14511451

14521452
\pnum
14531453
A value-initialized object of integer-class type has value 0.

source/ranges.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,7 @@
16691669
Equivalent to:
16701670
\begin{itemize}
16711671
\item If \exposid{StoreSize} is \tcode{true},
1672-
\tcode{subrange(r, static_cast<decltype(\exposid{size_}-)>(ranges::size(r)))}.
1672+
\tcode{subrange(r, static_cast<decltype(\exposid{size_})>(ranges::size(r)))}.
16731673
\item Otherwise, \tcode{subrange(ranges::begin(r), ranges::end(r))}.
16741674
\end{itemize}
16751675
\end{itemdescr}

0 commit comments

Comments
 (0)