Skip to content

Commit b28d744

Browse files
authored
[istream.sentry] Minor tweaks
1 parent 0b4ceb5 commit b28d744

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/iostreams.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4571,7 +4571,7 @@
45714571
that are part of the library.
45724572
The semantics of the constructor used in user code is as specified.
45734573
\end{footnote}
4574-
If \tcode{noskipws} is zero and
4574+
If \tcode{noskipws} is \tcode{false} and
45754575
\tcode{is.flags() \& ios_base::skipws}
45764576
is nonzero, the function extracts and discards each character as long as
45774577
the next available input character \tcode{c} is a whitespace character.
@@ -4600,8 +4600,8 @@
46004600
To decide if the character \tcode{c} is a whitespace character,
46014601
the constructor performs as if it executes the following code fragment:
46024602
\begin{codeblock}
4603-
const ctype<charT>& ctype = use_facet<ctype<charT>>(is.getloc());
4604-
if (ctype.is(ctype.space, c) != 0)
4603+
const ctype<charT>& ct = use_facet<ctype<charT>>(is.getloc());
4604+
if (ct.is(ct.space, c))
46054605
// \tcode{c} is a whitespace character.
46064606
\end{codeblock}
46074607

@@ -4610,7 +4610,7 @@
46104610
\tcode{is.good()}
46114611
is
46124612
\tcode{true},
4613-
\tcode{\exposid{ok_} != false}
4613+
\tcode{\exposid{ok_} != false};
46144614
otherwise,
46154615
\tcode{\exposid{ok_} == false}.
46164616
During preparation, the constructor may call

0 commit comments

Comments
 (0)