##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# std::raw_storage_iterator::operator=

From cppreference.com
< cpp‎ | memory‎ | raw storage iterator

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).

### [edit] Parameters

el | - | the value to copy or move from

### [edit] Return value

*this

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/memory/raw_storage_iterator/operator%3D&oldid=81472"