# std::istream_iterator<T,CharT,Traits,Distance>::~istream_iterator

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

Destroys the iterator, including the cached value.

## Official Specification Summary (cppreference)

```cpp
~istream_iterator(); // (until C++11)
~istream_iterator() = default; // (since C++11)
```

Destroys the iterator, including the cached value.

If `std::is_trivially_destructible<T>::value` is `true`, then this destructor is a trivial destructor. (since C++11)

---
Attribution: content from https://en.cppreference.com/w/cpp/iterator/istream_iterator/~istream_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.