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

> C++ Atlas: `cppatlas.com/w/cpp/io/basic_iostream/~basic_iostream` | Source: https://en.cppreference.com/w/cpp/io/basic_iostream/~basic_iostream | Domain: Input/output

Destructs the input/output stream.

## Official Specification Summary (cppreference)

```cpp
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.

---
Attribution: content from https://en.cppreference.com/w/cpp/io/basic_iostream/~basic_iostream (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.