# std::raw_storage_iterator<OutputIt,T>::operator=

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

## Official Specification Summary (cppreference)

```cpp
raw_storage_iterator& operator=( const T& el ); // (1)
raw_storage_iterator& operator=( T&& el ); // (2) (since C++17)
```

1) Constructs a value at the location the iterator points to from `el`.

2) Constructs a value at the location the iterator points to from `std::move(el)`.

### Parameters

- `el` - the value to copy or move from

### Return value

`*this`

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