# std::raw_storage_iterator<OutputIt,T>::operator++, operator++(int)

> C++ Atlas: `cppatlas.com/w/cpp/memory/raw_storage_iterator/operator_arith` | Source: https://en.cppreference.com/w/cpp/memory/raw_storage_iterator/operator_arith | Domain: Memory management

## Official Specification Summary (cppreference)

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

Advances the iterator.

1) Pre-increment. Returns the updated iterator.

2) Post-increment. Returns the old value of the iterator.

### Parameters

(none)

### Return value

1) `*this`

2) The old value of the iterator.

---
Attribution: content from https://en.cppreference.com/w/cpp/memory/raw_storage_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.