A FormattedInputFunction is a stream input function that performs the following:
noskipws
argument set to false, which performs the following:failbit
as well, and if exceptions on failbit
are enabled in this input stream's exception mask ((exceptions() & failbit) != 0), throws ios_base::failure.ios_base::skipws
flag is set on this input stream, extracts and discards characters from the input stream until one of the following becomes true:failbit
and eofbit
are set and if the stream is on for exceptions on one of these bits, ios_base::failure is thrown.sentry::operator bool()
, which is equivalent to basic_ios::good.eofbit
. If exceptions on eofbit
are enabled in this stream's exception mask ((exceptions() & eofbit) != 0), throws ios_base::failure.badbit
in the input stream. If exceptions on badbit
are enabled in this stream's exception mask ((exceptions() & badbit) != 0), the exception is also rethrown.The following standard library functions are FormattedInputFunctions.
operator>>
, when called on the return value of std::get_moneyThe following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR Applied to Behavior as published Correct behavior LWG 160 C++98 the process of determining whether the exception caughtexception()
corrected to exceptions()
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4