std::basic_istream<CharT,Traits>::~basic_istream (3) - Linux Manuals
std::basic_istream<CharT,Traits>::~basic_istream: std::basic_istream<CharT,Traits>::~basic_istream
NAME
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
Output: