operator template
std::move_iterator::operator=
- Header
<iterator>- Draft
- [move.iterator]
- Scope
std::move_iterator- cppreference
- std::move_iterator::operator=
Assignment operator
Synopsis
template<class U>
requires (!is_same_v<U, Iterator> && convertible_to<const U&, Iterator> && assignable_from<Iterator&, const U&>)
constexpr move_iterator& operator=(const move_iterator<U>& u);