VCCC  2024.05
VisualCamp Common C++ library
move_sentinel< S > Class Template Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__iterator/move_sentinel.hpp>

Public Member Functions

constexpr move_sentinel ()=default
 
constexpr move_sentinel (S x)
 
template<typename S2 , std::enable_if_t< convertible_to< const S2 &, S >::value, int > = 0>
constexpr move_sentinel (const move_sentinel< S2 > &other)
 
template<typename S2 , std::enable_if_t< convertible_to< const S2 &, S >::value, int > = 0>
constexpr move_sentineloperator= (const move_sentinel< S2 > &other)
 
constexpr S base () const
 

Friends

template<typename Iter , typename S2 = S, std::enable_if_t< sentinel_for< S2, Iter >::value, int > = 0>
constexpr friend bool operator== (const std::move_iterator< Iter > &i, const move_sentinel &s)
 
template<typename Iter , typename S2 = S, std::enable_if_t< sentinel_for< S2, Iter >::value, int > = 0>
constexpr friend bool operator!= (const std::move_iterator< Iter > &i, const move_sentinel &s)
 
template<typename Iter , typename S2 = S, std::enable_if_t< sentinel_for< S2, Iter >::value, int > = 0>
constexpr friend bool operator== (const move_sentinel &s, const std::move_iterator< Iter > &i)
 
template<typename Iter , typename S2 = S, std::enable_if_t< sentinel_for< S2, Iter >::value, int > = 0>
constexpr friend bool operator!= (const move_sentinel &s, const std::move_iterator< Iter > &i)
 
template<typename Iter , typename S2 = S, std::enable_if_t< sized_sentinel_for< S2, Iter >::value, int > = 0>
constexpr friend iter_difference_t< Iter > operator- (const move_sentinel &s, const std::move_iterator< Iter > &i)
 
template<typename Iter , typename S2 = S, std::enable_if_t< sized_sentinel_for< S2, Iter >::value, int > = 0>
constexpr friend iter_difference_t< Iter > operator- (const std::move_iterator< Iter > &i, const move_sentinel &s)
 

Constructor & Destructor Documentation

◆ move_sentinel() [1/3]

constexpr move_sentinel ( )
constexprdefault

◆ move_sentinel() [2/3]

constexpr move_sentinel ( x)
inlineexplicitconstexpr

◆ move_sentinel() [3/3]

constexpr move_sentinel ( const move_sentinel< S2 > &  other)
inlineconstexpr

Member Function Documentation

◆ base()

constexpr S base ( ) const
inlineconstexpr

◆ operator=()

constexpr move_sentinel& operator= ( const move_sentinel< S2 > &  other)
inlineconstexpr

Friends And Related Function Documentation

◆ operator!= [1/2]

constexpr friend bool operator!= ( const move_sentinel< S > &  s,
const std::move_iterator< Iter > &  i 
)
friend

◆ operator!= [2/2]

constexpr friend bool operator!= ( const std::move_iterator< Iter > &  i,
const move_sentinel< S > &  s 
)
friend

◆ operator- [1/2]

constexpr friend iter_difference_t<Iter> operator- ( const move_sentinel< S > &  s,
const std::move_iterator< Iter > &  i 
)
friend

◆ operator- [2/2]

constexpr friend iter_difference_t<Iter> operator- ( const std::move_iterator< Iter > &  i,
const move_sentinel< S > &  s 
)
friend

◆ operator== [1/2]

constexpr friend bool operator== ( const move_sentinel< S > &  s,
const std::move_iterator< Iter > &  i 
)
friend

◆ operator== [2/2]

constexpr friend bool operator== ( const std::move_iterator< Iter > &  i,
const move_sentinel< S > &  s 
)
friend

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