std::move_sentinel<S>::operator=

From cppreference.com
 
 
Iterator library
Iterator concepts
Iterator primitives
Iterator adaptors
Stream iterators
Iterator customization points
Iterator operations
(C++11)
(C++11)
Range access
(C++11)(C++14)
(C++11)(C++14)
(C++17)(C++20)
(C++14)(C++14)
(C++14)(C++14)
(C++17)
(C++17)
 
 
template<class S2>

  requires std::assignable_from<S&, const S2&>

    constexpr move_sentinel& operator=(const std::move_sentinel<S2>& other);
(since C++20)

The underlying sentinel is assigned the value of the underlying sentinel of other, i.e. other.base().

Parameters

other - sentinel adaptor to assign

Return value

*this

Example

See also

assigns another iterator
(public member function of std::move_iterator<Iter>)