VCCC  2024.05
VisualCamp Common C++ library
take_while_view< V, Pred >::sentinel< Const > Class Template Reference

#include </home/jarvis/actions-runner/jarvis-vccc-2/_work/vccc/vccc/include/vccc/__ranges/views/take_while_view.hpp>

Public Member Functions

 sentinel ()=default
 
constexpr sentinel (sentinel_t< Base > end, const Pred *pred)
 
template<bool AntiConst, std::enable_if_t< conjunction< bool_constant<((Const !=AntiConst) &&Const)>, convertible_to< sentinel_t< V >, sentinel_t< Base >> >::value, int > = 0>
constexpr sentinel (sentinel< AntiConst > that)
 
constexpr sentinel_t< Base > base () const
 

Friends

class sentinel<!Const >
 
constexpr friend bool operator== (const iterator_t< Base > &x, const sentinel &y)
 
constexpr friend bool operator!= (const iterator_t< Base > &x, const sentinel &y)
 
constexpr friend bool operator== (const sentinel &y, const iterator_t< Base > &x)
 
constexpr friend bool operator!= (const sentinel &y, const iterator_t< Base > &x)
 

Constructor & Destructor Documentation

◆ sentinel() [1/3]

sentinel ( )
default

◆ sentinel() [2/3]

constexpr sentinel ( sentinel_t< Base >  end,
const Pred *  pred 
)
inlineexplicitconstexpr

◆ sentinel() [3/3]

constexpr sentinel ( sentinel< AntiConst >  that)
inlineconstexpr

Member Function Documentation

◆ base()

constexpr sentinel_t<Base> base ( ) const
inlineconstexpr

Friends And Related Function Documentation

◆ sentinel<!Const >

friend class sentinel<!Const >
friend

◆ operator!= [1/2]

constexpr friend bool operator!= ( const iterator_t< Base > &  x,
const sentinel< Const > &  y 
)
friend

◆ operator!= [2/2]

constexpr friend bool operator!= ( const sentinel< Const > &  y,
const iterator_t< Base > &  x 
)
friend

◆ operator== [1/2]

constexpr friend bool operator== ( const iterator_t< Base > &  x,
const sentinel< Const > &  y 
)
friend

◆ operator== [2/2]

constexpr friend bool operator== ( const sentinel< Const > &  y,
const iterator_t< Base > &  x 
)
friend

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