• Class / Function / Type

      std::
    • Header file

      <>
    • Other / All

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

    履歴 編集

    function
    <streambuf>

    std::basic_streambuf::pubseekpos

    namespace std {
      template<class CharT, class Traits = char_traits<CharT>>
      class basic_streambuf {
      public:
        pos_type pubseekpos(pos_type sp,
                            ios_base::openmode which = ios_base::in | ios_base::out);
    
        ……
      };
    }
    

    概要

    絶対位置指定での移動。

    効果

    protected virtualのseekpos()を呼ぶ。

    戻り値

    seekpos(sp, which)

    バージョン

    言語

    • C++98

    参照