std::move_sentinel<S>::operator=
template< class S2 >
requires std::assignable_from<S&, const S2&>
constexpr move_sentinel& operator=( const std::move_sentinel<S2>& other );
| (с C++20) |
Базовый сторожевой объект получает значение базового сторожевого объекта other, т.е. other.base().
Параметры
| other | - | сторожевой адаптер для присваивания |
Возвращаемое значение
*this
Пример
См. также
|
(C++11) | присваивает другой адаптер итератора (публичный член-функция std::move_iterator<Iter>) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/iterator/move_sentinel/operator%3D