std::raw_storage_iterator<OutputIt,T>::operator=
raw_storage_iterator& operator=( const T& el ); | (1) | |
raw_storage_iterator& operator=( T&& el ); | (2) | (с C++17) |
1) Создаёт значение в позиции, на которую указывает итератор, из
el.
2) Создаёт значение в позиции, на которую указывает итератор, из
std::move(el).Параметры
| el | - | значение для копирования или перемещения |
Возвращаемое значение
*this
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/memory/raw_storage_iterator/operator%3D