Iros
 
Loading...
Searching...
No Matches
di::container::MoveSentinel< Sent > Class Template Reference

#include <di/container/iterator/move_sentinel.h>

Inheritance diagram for di::container::MoveSentinel< Sent >:
[legend]

Public Member Functions

constexpr MoveSentinel ()=default
 
constexpr MoveSentinel (Sent sentinel)
 
template<concepts::Semiregular Other>
requires (concepts::ConvertibleTo<Other const&, Sent>)
constexpr MoveSentinel (MoveSentinel< Other > const &other)
 
template<concepts::Semiregular Other>
requires (concepts::AssignableFrom<Sent&, Other const&>)
constexpr auto operator= (MoveSentinel< Other > const &other) -> MoveSentinel &
 
constexpr auto base () const -> Sent
 
template<typename It>
requires (concepts::SizedSentinelFor<Sent, It>)
constexpr auto difference (MoveIterator< It > const &it) const
 

Friends

template<typename It>
requires (concepts::SentinelFor<Sent, It>)
constexpr friend auto operator== (MoveSentinel const &a, MoveIterator< It > const &b) -> bool
 

Constructor & Destructor Documentation

◆ MoveSentinel() [1/3]

template<concepts::Semiregular Sent>
di::container::MoveSentinel< Sent >::MoveSentinel ( )
constexprdefault

◆ MoveSentinel() [2/3]

template<concepts::Semiregular Sent>
di::container::MoveSentinel< Sent >::MoveSentinel ( Sent sentinel)
inlineexplicitconstexpr

◆ MoveSentinel() [3/3]

template<concepts::Semiregular Sent>
template<concepts::Semiregular Other>
requires (concepts::ConvertibleTo<Other const&, Sent>)
di::container::MoveSentinel< Sent >::MoveSentinel ( MoveSentinel< Other > const & other)
inlineconstexpr

Member Function Documentation

◆ base()

template<concepts::Semiregular Sent>
auto di::container::MoveSentinel< Sent >::base ( ) const -> Sent
inlineconstexpr

◆ difference()

template<concepts::Semiregular Sent>
template<typename It>
requires (concepts::SizedSentinelFor<Sent, It>)
auto di::container::MoveSentinel< Sent >::difference ( MoveIterator< It > const & it) const
inlineconstexpr

◆ operator=()

template<concepts::Semiregular Sent>
template<concepts::Semiregular Other>
requires (concepts::AssignableFrom<Sent&, Other const&>)
auto di::container::MoveSentinel< Sent >::operator= ( MoveSentinel< Other > const & other) -> MoveSentinel&
inlineconstexpr

Friends And Related Symbol Documentation

◆ operator==

template<concepts::Semiregular Sent>
template<typename It>
requires (concepts::SentinelFor<Sent, It>)
friend auto operator== ( MoveSentinel< Sent > const & a,
MoveIterator< It > const & b ) -> bool
friend

The documentation for this class was generated from the following file: