Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: wordsmithing

...

When calling a formatted input stream function , like istream::operator>>(), information about conversion errors is queried through the basic_ios::good()basic_ios::bad(), and basic_ios::fail() inherited member functions or through exception handling if it is enabled on the stream object.

When calling num_get<>::get(), information about conversion errors is returned to the caller through the ios_base::iostate& argument. The C++ Standard,  section [facet.num.get.virtuals], paragraph 3 states, in part  [ISO/IEC 14882-2014]:

...