最終更新日時(UTC):
が更新

履歴 編集

function
<streambuf>

std::basic_streambuf::seekoff

namespace std {
  template<class CharT, class Traits = char_traits<CharT>>
  class basic_streambuf {
  protected:
    virtual pos_type seekoff(off_type off, ios_base::seekdir way,
                             ios_base::openmode which = ios_base::in | ios_base::out);

    ……
  };
}

概要

相対位置指定での移動。

効果

デフォルトでは -1 を返すのみ。(オーバーライドした関数の具体的な動作はそのクラスに委ねられる。)

戻り値

pos_type(off_type(-1))

バージョン

言語

  • C++98

参照