Share via


basic_istream::ipfx

basic_istream::ipfx

bool ipfx(bool noskip = false);

The member function prepares for formatted or unformatted input. If good() is true, the function:

  • Calls tie-> flush() if tie() is not a null pointer.
  • Effectively calls ws(*this) if flags() & skipws is nonzero.

If, after any such preparation, good() is false, the function calls setstate(failbit). In any case, the function returns good().

You should not call ipfx directly. It is called as needed by an object of class sentry.