protected member function
void set_rdbuf (streambuf* sb);
Set stream buffer
Sets sb as the stream buffer associated with the stream, without altering the control state flag (rdstate).
sb shall not be a null pointer.
Derived classes can call this function to change the stream buffer.
- Pointer to a streambuf object.
This shall not be a null pointer.
Modifies the stream object.
Concurrent access to the same stream object may cause data races.
Basic guarantee: if an exception is thrown, the stream is in a valid state.
- Get/set stream buffer (public member function)