# std::ostream_iterator<T,CharT,Traits>::~ostream_iterator

> C++ Atlas: `cppatlas.com/w/cpp/iterator/ostream_iterator/~ostream_iterator` | Source: https://en.cppreference.com/w/cpp/iterator/ostream_iterator/~ostream_iterator | Domain: Iterator

Destructs the iterator. Does not affect the associated output stream.

## Official Specification Summary (cppreference)

```cpp
~ostream_iterator()
```

Destructs the iterator. Does not affect the associated output stream.

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