Spec-Zone.ru › C++

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 );
(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

operator=
assigns another move_iterator
(public member function of 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

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API