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) |
Базовый sentinel получает значение базового sentinel объекта other, то есть other.base().
Параметры
| other | - | адаптер sentinel для присваивания |
Возвращаемое значение
*this
Пример
См. также
присваивает другой move_iterator (открытая функция-член класса std::move_iterator<Iter>) |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/cpp/iterator/move_sentinel/operator%3D