GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
std::basic_ios::set_rdbuf(3) C++ Standard Libary std::basic_ios::set_rdbuf(3)

std::basic_ios::set_rdbuf - std::basic_ios::set_rdbuf


protected: (since C++11)
void set_rdbuf( std::basic_streambuf<CharT,Traits>* sb );


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.


sb - stream buffer to associate to


(none)


Throws nothing.


This section is incomplete
Reason: no example


rdbuf manages associated stream buffer
(public member function)

2022.07.31 http://cppreference.com

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.