8template<concepts::Semiregular Sent>
12 constexpr explicit MoveSentinel(Sent sentinel) : m_sentinel(sentinel) {}
14 template<concepts::Semiregular Other>
18 template<concepts::Semiregular Other>
21 this->m_sentinel = other.base();
25 constexpr auto base() const -> Sent {
return m_sentinel; }
30 return m_sentinel - it;
Definition move_iterator.h:24
constexpr auto base() const &-> Iter const &
Definition move_iterator.h:47
constexpr MoveSentinel()=default
constexpr auto operator=(MoveSentinel< Other > const &other) -> MoveSentinel &
Definition move_sentinel.h:20
constexpr auto base() const -> Sent
Definition move_sentinel.h:25
constexpr auto difference(MoveIterator< It > const &it) const
Definition move_sentinel.h:29
constexpr MoveSentinel(MoveSentinel< Other > const &other)
Definition move_sentinel.h:16
constexpr MoveSentinel(Sent sentinel)
Definition move_sentinel.h:12
Definition sentinel_base.h:13
Definition operations.h:19
Definition operations.h:99
Definition sentinel_for.h:9
Definition sized_sentinel_for.h:9