Skip to content

Commit 1ec1164

Browse files
committed
fixup: use math formatting for B(I)
1 parent ae2ca9c commit 1ec1164

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/iterators.tex

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,14 +1366,14 @@
13661366

13671367
\pnum
13681368
For every integer-class type \tcode{I},
1369-
let \tcode{B(I)} be a unique hypothetical extended integer type
1369+
let $B(\tcode{I})$ be a unique hypothetical extended integer type
13701370
of the same signedness with the same width\iref{basic.fundamental} as \tcode{I}.
13711371
\begin{note}
1372-
The corresponding hypothetical specialization \tcode{numeric_limits<B(I)>}
1373-
meets the requirements on \tcode{numeric_limits} specializations
1372+
The corresponding hypothetical specialization \tcode{numeric_limits<$B(\tcode{I})$>}
1373+
Meets the requirements on \tcode{numeric_limits} specializations
13741374
for integral types\iref{numeric.limits}.
13751375
\end{note}
1376-
For every integral type \tcode{J}, let \tcode{B(J)} be the same type as \tcode{J}.
1376+
For every integral type \tcode{J}, let $B(\tcode{J})$ be the same type as \tcode{J}.
13771377

13781378
\pnum
13791379
Expressions of integer-class type are
@@ -1393,7 +1393,7 @@
13931393
let \tcode{b} be an object of integer-like type \tcode{I2}
13941394
such that the expression \tcode{b} is implicitly convertible to \tcode{I},
13951395
let \tcode{x} and \tcode{y} be, respectively,
1396-
objects of type \tcode{B(I)} and \tcode{B(I2)} as described above
1396+
objects of type $B(\tcode{I})$ and $B(\tcode{I2})$ as described above
13971397
that represent the same values as \tcode{a} and \tcode{b}, and
13981398
let \tcode{c} be an lvalue of any integral type.
13991399
\begin{itemize}
@@ -1414,7 +1414,7 @@
14141414
is well-formed, \tcode{@a} shall also be well-formed
14151415
and have the same value, effects, and value category as \tcode{@x}.
14161416
If \tcode{@x} has type \tcode{bool}, so too does \tcode{@a};
1417-
if \tcode{@x} has type \tcode{B(I)}, then \tcode{@a} has type \tcode{I}.
1417+
if \tcode{@x} has type $B(\tcode{I})$, then \tcode{@a} has type \tcode{I}.
14181418
\item
14191419
For every assignment operator \tcode{@=}
14201420
for which \tcode{c @= x} is well-formed,
@@ -1435,9 +1435,9 @@
14351435
\tcode{a @ b} and \tcode{b @ a} shall also be well-formed and
14361436
shall have the same value, effects, and value category as
14371437
\tcode{x @ y} and \tcode{y @ x}, respectively.
1438-
If \tcode{x @ y} or \tcode{y @ x} has type \tcode{B(I)},
1438+
If \tcode{x @ y} or \tcode{y @ x} has type $B(\tcode{I})$,
14391439
then \tcode{a @ b} or \tcode{b @ a}, respectively, has type \tcode{I};
1440-
if \tcode{x @ y} or \tcode{y @ x} has type \tcode{B(I2)},
1440+
if \tcode{x @ y} or \tcode{y @ x} has type $B(\tcode{I2})$,
14411441
then \tcode{a @ b} or \tcode{b @ a}, respectively, has type \tcode{I2};
14421442
if \tcode{x @ y} or \tcode{y @ x} has any other type,
14431443
then \tcode{a @ b} or \tcode{b @ a}, respectively, has that type.
@@ -1460,9 +1460,9 @@
14601460
For every (possibly cv-qualified) integer-class type \tcode{I},
14611461
\tcode{numeric_limits<I>} is specialized such that
14621462
each static data member \tcode{m}
1463-
has the same value as \tcode{numeric_limits<B(I)>::m}, and
1463+
has the same value as \tcode{numeric_limits<$B(\tcode{I})$>::m}, and
14641464
each static member function \tcode{f}
1465-
returns \tcode{I(numeric_limits<B(I)>::f())}.
1465+
returns \tcode{I(numeric_limits<$B(\tcode{I})$>::f())}.
14661466

14671467
\pnum
14681468
For any two integer-like types \tcode{I1} and \tcode{I2},

0 commit comments

Comments
 (0)