Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      std::strstream::rdbuf

      From cppreference.com
      <cpp‎ |io‎ |strstream

      [edit template]
       
       
       
       
      strstreambuf* rdbuf()const;
      (deprecated in C++98)
      (removed in C++26)

      Returns a pointer to the associatedstd::strstreambuf, casting away its constness (despite the const qualifier on the member function).

      [edit]Parameters

      (none)

      [edit]Return value

      Pointer to the associatedstd::strstreambuf, with constness cast away.

      [edit]Example

      Run this code
      #include <strstream> int main(){conststd::strstream buf;std::strstreambuf* ptr= buf.rdbuf();}
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=cpp/io/strstream/rdbuf&oldid=105235"

      [8]ページ先頭

      ©2009-2025 Movatter.jp