Skip to content

Commit a1d2aae

Browse files
committed
[ostream.seeks] clarify boolean expression
1 parent 2ba3cf5 commit a1d2aae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/iostreams.tex

+3-3
Original file line numberDiff line numberDiff line change
@@ -6269,7 +6269,7 @@
62696269
\pnum
62706270
\returns
62716271
If
6272-
\tcode{fail() != false},
6272+
\tcode{fail()} is \keyword{true},
62736273
returns
62746274
\tcode{pos_type(-1)}
62756275
to indicate failure.
@@ -6286,7 +6286,7 @@
62866286
\pnum
62876287
\effects
62886288
If
6289-
\tcode{fail() != true},
6289+
\tcode{fail()} is \keyword{false},
62906290
executes
62916291
\tcode{rdbuf()->pubseekpos(pos, ios_base::out)}.
62926292
In case of failure, the function calls
@@ -6308,7 +6308,7 @@
63086308
\pnum
63096309
\effects
63106310
If
6311-
\tcode{fail() != true},
6311+
\tcode{fail()} is \keyword{false},
63126312
executes
63136313
\tcode{rdbuf()->pubseekoff(off, dir, ios_base::out)}.
63146314
In case of failure, the function calls \tcode{setstate(failbit)}

0 commit comments

Comments
 (0)