Skip to content

Commit 1acfef5

Browse files
jensmaurertkoeppe
authored andcommitted
[string.io] Rephrase sentry conversion
1 parent d4ffff1 commit 1acfef5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

source/strings.tex

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3550,10 +3550,10 @@
35503550
\pnum
35513551
\effects
35523552
Behaves as a formatted input function\iref{istream.formatted.reqmts}.
3553-
After constructing a
3554-
\tcode{sentry}
3555-
object, if the sentry converts to \tcode{true}, calls
3556-
\tcode{str.erase()}
3553+
After constructing a \tcode{sentry} object,
3554+
if the \tcode{sentry} object returns \tcode{true}
3555+
when converted to a value of type \tcode{bool},
3556+
calls \tcode{str.erase()}
35573557
and then extracts characters from \tcode{is} and appends them
35583558
to \tcode{str} as if by calling
35593559
\tcode{str.append(1, c)}.
@@ -3630,10 +3630,10 @@
36303630
Behaves as an unformatted input function\iref{istream.unformatted},
36313631
except that it does not affect the value returned by subsequent calls to
36323632
\tcode{basic_istream<>::gcount()}.
3633-
After constructing a
3634-
\tcode{sentry}
3635-
object, if the sentry converts to \tcode{true}, calls
3636-
\tcode{str.erase()}
3633+
After constructing a \tcode{sentry} object,
3634+
if the \tcode{sentry} object returns \tcode{true}
3635+
when converted to a value of type \tcode{bool},
3636+
calls \tcode{str.erase()}
36373637
and then extracts characters from \tcode{is} and appends them
36383638
to \tcode{str} as if by calling
36393639
\tcode{str.append(1, c)}

0 commit comments

Comments
 (0)