std::basic_ostream<CharT,Traits>::~basic_ostream (3) - Linux Manuals
std::basic_ostream<CharT,Traits>::~basic_ostream: std::basic_ostream<CharT,Traits>::~basic_ostream
NAME
std::basic_ostream<CharT,Traits>::~basic_ostream - std::basic_ostream<CharT,Traits>::~basic_ostream
Synopsis
virtual ~basic_ostream();
Destroys the basic_ostream object. This destructor does not perform any operation on the underlying streambuffer (rdbuf()): the destructors of the derived output streams such as std::basic_ofstream and std::basic_ostringstream are responsible for calling the destructors of the stream buffers.
Example
// Run this code
Output: