std::basic_istream (3) Linux Manual Page
std::basic_istream<CharT,Traits>::~basic_istream – std::basic_istream<CharT,Traits>::~basic_istream Synopsis virtual ~basic_istream(); Destructs the input stream. Notes This destructor does not perform any operation on the underlying streambuffer (rdbuf()): the destructors of the derived input streams such as std::basic_ifstream and std::basic_istringstream are responsible for calling the destructors of the streambuffers. Example // Run this code #include <sstream> #include <iostream> void print_stringbuf(std::streambuf…
