cpp / latest / io / basic_iostream / ~basic_iostream.html /

std::basic_iostream<CharT,Traits>::~basic_iostream

virtual ~basic_iostream();

Destructs the input/output stream.

Notes

This destructor does not perform any operation on the underlying stream buffer (rdbuf()): the destructors of the derived streams such as std::basic_fstream and std::basic_stringstream are responsible for calling the destructors of the stream buffers.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/io/basic_iostream/%7Ebasic_iostream