# 32 Atomic operations library [atomics]

### 32.6.4 Member operators common to integers and pointers to objects [atomics.types.memop]

```
T operator++(int) volatile noexcept;
T operator++(int) noexcept;
```

Effects: Equivalent to: return fetchadd(1);

```
T operator--(int) volatile noexcept;
T operator--(int) noexcept;
```

Effects: Equivalent to: return fetchsub(1);

```
T operator++() volatile noexcept;
T operator++() noexcept;
```

Effects: Equivalent to: return fetch_add(1) + 1;

```
T operator--() volatile noexcept;
T operator--() noexcept;
```

Effects: Equivalent to: return fetch_sub(1) - 1;