Skip to content

Commit b661c7b

Browse files
committed
[conv.integral] Exclude boolean conversions from integral conversions
1 parent 38dfe3d commit b661c7b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

source/expressions.tex

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -928,8 +928,7 @@
928928

929929
\pnum
930930
\indextext{conversion!bool@\tcode{bool}}%
931-
If the destination type is \keyword{bool}, see~\ref{conv.bool}. If the
932-
source type is \keyword{bool}, the value \keyword{false} is converted to
931+
If the source type is \keyword{bool}, the value \keyword{false} is converted to
933932
zero and the value \keyword{true} is converted to one.
934933

935934
\pnum
@@ -940,8 +939,8 @@
940939
where $N$ is the width of the destination type.
941940

942941
\pnum
943-
The conversions allowed as integral promotions are excluded from the set
944-
of integral conversions.
942+
The conversions performed by integral promotions and boolean conversions are
943+
excluded from the set of integral conversions.
945944

946945
\rSec2[conv.double]{Floating-point conversions}
947946

0 commit comments

Comments
 (0)