Skip to content

Commit 02f5087

Browse files
committed
[conv.integral] Exclude boolean conversions from integral conversions
1 parent ea10e25 commit 02f5087

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
@@ -884,8 +884,7 @@
884884

885885
\pnum
886886
\indextext{conversion!bool@\tcode{bool}}%
887-
If the destination type is \tcode{bool}, see~\ref{conv.bool}. If the
888-
source type is \tcode{bool}, the value \tcode{false} is converted to
887+
If the source type is \tcode{bool}, the value \tcode{false} is converted to
889888
zero and the value \tcode{true} is converted to one.
890889

891890
\pnum
@@ -896,8 +895,8 @@
896895
where $N$ is the width of the destination type.
897896

898897
\pnum
899-
The conversions allowed as integral promotions are excluded from the set
900-
of integral conversions.
898+
The conversions performed by integral promotions and boolean conversions are
899+
excluded from the set of integral conversions.
901900

902901
\rSec2[conv.double]{Floating-point conversions}
903902

0 commit comments

Comments
 (0)