Skip to content

Commit 838ffab

Browse files
committed
[expr], [over] Add cross-references for usual arithmetic conversion.
1 parent e3f9c32 commit 838ffab

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

source/expressions.tex

+9-10
Original file line numberDiff line numberDiff line change
@@ -421,11 +421,10 @@
421421
\rSec1[expr.arith.conv]{Usual arithmetic conversions}
422422

423423
\pnum
424-
\indextext{conversion!usual arithmetic}%
425424
Many binary operators that expect operands of arithmetic or enumeration
426425
type cause conversions and yield result types in a similar way. The
427426
purpose is to yield a common type, which is also the type of the result.
428-
This pattern is called the \term{usual arithmetic conversions},
427+
This pattern is called the \defnx{usual arithmetic conversions}{conversion!usual arithmetic},
429428
which are defined as follows:
430429

431430
\begin{itemize}
@@ -4599,7 +4598,7 @@
45994598
\pnum
46004599
The operands of \tcode{*} and \tcode{/} shall have arithmetic or unscoped
46014600
enumeration type; the operands of \tcode{\%} shall have integral or unscoped
4602-
enumeration type. The usual arithmetic conversions are performed on the
4601+
enumeration type. The usual arithmetic conversions\iref{expr.arith.conv} are performed on the
46034602
operands and determine the type of the result.
46044603

46054604
\pnum
@@ -4624,7 +4623,7 @@
46244623

46254624
\pnum
46264625
The additive operators \tcode{+} and \tcode{-} group left-to-right. The
4627-
usual arithmetic conversions are performed for operands of arithmetic or
4626+
usual arithmetic conversions\iref{expr.arith.conv} are performed for operands of arithmetic or
46284627
enumeration type.
46294628

46304629
\indextext{operator!addition}%
@@ -4816,7 +4815,7 @@
48164815
\tcode{bool}.
48174816

48184817
\pnum
4819-
The usual arithmetic conversions are performed on operands of arithmetic
4818+
The usual arithmetic conversions\iref{expr.arith.conv} are performed on operands of arithmetic
48204819
or enumeration type. If both operands are pointers, pointer
48214820
conversions\iref{conv.ptr} and qualification conversions\iref{conv.qual}
48224821
are performed to bring
@@ -4987,7 +4986,7 @@
49874986

49884987
\pnum
49894988
If both operands are of arithmetic or enumeration type, the usual arithmetic
4990-
conversions are performed on both operands; each of the operators shall yield
4989+
conversions\iref{expr.arith.conv} are performed on both operands; each of the operators shall yield
49914990
\tcode{true} if the specified relationship is true and \tcode{false} if it is
49924991
false.
49934992

@@ -5004,7 +5003,7 @@
50045003
\end{bnf}
50055004

50065005
\pnum
5007-
The usual arithmetic conversions are performed; the result is the
5006+
The usual arithmetic conversions\iref{expr.arith.conv} are performed; the result is the
50085007
bitwise \logop{AND} function of the operands. The operator
50095008
applies only to integral or unscoped enumeration operands.
50105009

@@ -5020,7 +5019,7 @@
50205019
\end{bnf}
50215020

50225021
\pnum
5023-
The usual arithmetic conversions are performed; the result is the
5022+
The usual arithmetic conversions\iref{expr.arith.conv} are performed; the result is the
50245023
bitwise exclusive \logop{OR} function of the operands. The
50255024
operator applies only to integral or unscoped enumeration operands.
50265025

@@ -5036,7 +5035,7 @@
50365035
\end{bnf}
50375036

50385037
\pnum
5039-
The usual arithmetic conversions are performed; the result is the
5038+
The usual arithmetic conversions\iref{expr.arith.conv} are performed; the result is the
50405039
bitwise inclusive \logop{OR} function of its operands. The
50415040
operator applies only to integral or unscoped enumeration operands.
50425041

@@ -5239,7 +5238,7 @@
52395238
that type and the result object is initialized using the selected operand.
52405239

52415240
\item The second and third operands have arithmetic or enumeration type;
5242-
the usual arithmetic conversions are performed to bring them to a common
5241+
the usual arithmetic conversions\iref{expr.arith.conv} are performed to bring them to a common
52435242
type, and the result is of that type.
52445243

52455244
\item One or both of the second and third operands have pointer type;

source/overloading.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -3693,7 +3693,7 @@
36933693

36943694
where
36953695
\tcode{\placeholder{LR}}
3696-
is the result of the usual arithmetic conversions between types
3696+
is the result of the usual arithmetic conversions\iref{expr.arith.conv} between types
36973697
\tcode{\placeholder{L}}
36983698
and
36993699
\tcode{\placeholder{R}}.
@@ -3764,7 +3764,7 @@
37643764

37653765
where
37663766
\tcode{\placeholder{LR}}
3767-
is the result of the usual arithmetic conversions between types
3767+
is the result of the usual arithmetic conversions\iref{expr.arith.conv} between types
37683768
\tcode{\placeholder{L}}
37693769
and
37703770
\tcode{\placeholder{R}}.
@@ -3869,7 +3869,7 @@
38693869

38703870
where
38713871
\tcode{\placeholder{LR}}
3872-
is the result of the usual arithmetic conversions between types
3872+
is the result of the usual arithmetic conversions\iref{expr.arith.conv} between types
38733873
\tcode{\placeholder{L}}
38743874
and
38753875
\tcode{\placeholder{R}}.

0 commit comments

Comments
 (0)