File tree Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Expand file tree Collapse file tree 1 file changed +8
-15
lines changed Original file line number Diff line number Diff line change 45854585\tcode{setstate(failbit | eofbit)}
45864586(which may throw
45874587\tcode{ios_base::failure}).
4588- After any preparation is completed, \exposid{ok_} is set to the value of \tcode{is.good()}.
45894588
45904589\pnum
4591- \remarks
4592- This constructor
4593- uses the currently imbued locale in \tcode{is},
4594- to determine whether the next input character is
4595- whitespace or not.
4596-
4597- \pnum
4598- To decide if the character \tcode{c} is a whitespace character,
4599- the constructor performs as if it executes the following code fragment:
4600- \begin{codeblock}
4601- const ctype<charT>& ct = use_facet<ctype<charT>>(is.getloc());
4602- if (ct.is(ct.space, c))
4603- // \tcode{c} is a whitespace character.
4604- \end{codeblock}
4590+ The currently imbued locale in \tcode{is} is used
4591+ to determine whether or not the next input character is whitespace.
4592+ The character \tcode{c} is a whitespace character if
4593+ \tcode{ct.is(ct.space, c)} is \tcode{true},
4594+ where \tcode{ct} is \tcode{use_facet<ctype<charT>>(is.getloc())}.
46054595
46064596\pnum
46074597During preparation, the constructor may call
46164606\indextext{implementation-dependent}%
46174607implementation-dependent operations.
46184608\end{footnote}
4609+
4610+ \pnum
4611+ After any preparation is completed, \exposid{ok_} is set to the value of \tcode{is.good()}.
46194612\end{itemdescr}
46204613
46214614\indexlibrarydtor{sentry}%
You can’t perform that action at this time.
0 commit comments