# std::ostreambuf_iterator<CharT,Traits>::operator++

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

Does nothing. These operator overloads are provided to satisfy the requirements of LegacyOutputIterator.

## Official Specification Summary (cppreference)

```cpp
ostreambuf_iterator& operator++();
ostreambuf_iterator& operator++( int );
```

Does nothing. These operator overloads are provided to satisfy the requirements of *LegacyOutputIterator*. They make it possible for the expressions `*iter++=value` and `*++iter=value` to be used to output (insert) a value into the underlying stream.

### Parameters

(none)

### Return value

`*this`

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