A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://en.cppreference.com/w/cpp/io/basic_syncbuf/../basic_osyncstream/../basic_ios/set_rdbuf.html below:

std::basic_ios<CharT,Traits>::set_rdbuf - cppreference.com

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 std::basic_istringstream, as the final step after constructing the base class and after moving the stream buffer: only the most derived stream class knows how to correctly move the stream buffer, but std::basic_ios needs to be made aware of the stream's new location so that its public member functions can access it.

[edit] Parameters sb - stream buffer to associate to [edit] Return value

(none)

[edit] Exceptions

Throws nothing.

[edit] Example [edit] See also manages associated stream buffer
(public member function) [edit]

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4