Doxygen

template<class _CharT, class _Traits >
void basic_istream< _CharT, _Traits >::_M_formatted_get ( _CharT &  __c)

Definition at line 530 of file _istream.c.

Referenced by operator>>().

                                                                 {
//  typename _Traits::int_type __tmp = _Traits::eof();

  sentry __sentry(*this); // Skip whitespace.

  if (__sentry) {
    typename _Traits::int_type __tmp;// = _Traits::eof();

    _STLP_TRY {
      __tmp = this->rdbuf()->sbumpc();
    }
    _STLP_CATCH_ALL {
      this->_M_handle_exception(ios_base::badbit);
      return;
    }

    if (!this->_S_eof(__tmp))
      __c = _Traits::to_char_type(__tmp);
    else
      this->setstate(ios_base::eofbit | ios_base::failbit);
  }
}