Skip to content

Commit fb8f294

Browse files
committed
[istream.formatted.reqmts] clarify boolean expression
1 parent 5d9974a commit fb8f294

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

source/iostreams.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4668,7 +4668,8 @@
46684668
If an exception is thrown during input then
46694669
\tcode{ios_base::badbit} is set in the local error state,
46704670
\tcode{*this}'s error state is set to the local error state, and
4671-
the exception is rethrown if \tcode{(exceptions() \& badbit) != 0}.
4671+
the exception is rethrown
4672+
if \tcode{(exceptions() \& badbit) != 0} is \keyword{true}.
46724673
After extraction is done, the input function calls \tcode{setstate}, which
46734674
sets \tcode{*this}'s error state to the local error state, and
46744675
may throw an exception.

0 commit comments

Comments
 (0)