std::basic_ostream<CharT,Traits>* tie() const;
Manages the tied stream. A tied stream is an output stream which is synchronized with the sequence controlled by the stream buffer (rdbuf()), that is, flush() is called on the tied stream before any input/output operation on *this.
str. Returns the tied stream before the operation. If there is no tied stream, NULL is returned.
|str||-||an output stream to set as the tied stream|
 Return value
The tied stream, or NULL if there was no tied stream.
By default, the standard streams
clog are tied to
cout. Similarly, their wide counterparts
wclog are tied to
|This section is incomplete|
Reason: no example