Doxygen

Search

Doxygen

template<class _CharT, class _Traits>
pos_type basic_filebuf< _CharT, _Traits >::_M_seek_return ( off_type  __off,
_State_type  __state 
) [inline, private]

Definition at line 247 of file _fstream.h.

                                                               {
    if (__off != -1) {
      if (_M_in_input_mode)
        _M_exit_input_mode();
      _M_in_input_mode = false;
      _M_in_output_mode = false;
      _M_in_putback_mode = false;
      _M_in_error_mode = false;
      this->setg(0, 0, 0);
      this->setp(0, 0);
    }

    pos_type __result(__off);
    __result.state(__state);
    return __result;
  }