protected: void set_rdbuf( std::basic_streambuf<CharT,Traits>* sb ); 将关联的流缓冲区设置为sb而不清除错误状态。 这个成员函数是受保护的:它由派生流的移动构造函数调用,如std::basic_ofstream或std::basic_istringstream,作为构建基类和移动流缓冲区之后的最后一步:只有大多数派生流类知道如何正...
protected: void set_rdbuf( std::basic_streambuf<CharT,Traits>* sb ); (since C++11) Sets the associated stream buffer to sb without clearing the error state. This member function is protected: it is called by the move constructors of the derived streams such as std::basic_ofstream or ...