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

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

Classes

class  sentinel
 

Public Member Functions

 take_while_view ()=default
 
constexpr take_while_view (V base, Pred pred)
 
template<typename Dummy = void, std::enable_if_t< vccc::conjunction< std::is_void< Dummy >, copy_constructible< V > >::value, int > = 0>
constexpr V base () const &
 
constexpr V base () &&
 
constexpr const Pred & pred () const
 
template<typename Dummy = void, std::enable_if_t< vccc::conjunction< std::is_void< Dummy >, negation< simple_view< V >> >::value, int > = 0>
constexpr auto begin ()
 
template<typename Dummy = void, std::enable_if_t< vccc::conjunction< std::is_void< Dummy >, range< const V >, indirect_unary_predicate< const Pred, iterator_t< const V >> >::value, int > = 0>
constexpr auto begin () const
 
template<typename Dummy = void, std::enable_if_t< vccc::conjunction< std::is_void< Dummy >, negation< simple_view< V >> >::value, int > = 0>
VCCC_CONSTEXPR_AFTER_CXX17 auto end ()
 
template<typename Dummy = void, std::enable_if_t< vccc::conjunction< std::is_void< Dummy >, range< const V >, indirect_unary_predicate< const Pred, iterator_t< const V >> >::value, int > = 0>
VCCC_CONSTEXPR_AFTER_CXX17 auto end () const
 

Constructor & Destructor Documentation

◆ take_while_view() [1/2]

take_while_view ( )
default

◆ take_while_view() [2/2]

constexpr take_while_view ( base,
Pred  pred 
)
inlineexplicitconstexpr

Member Function Documentation

◆ base() [1/2]

constexpr V base ( ) &&
inlineconstexpr

◆ base() [2/2]

constexpr V base ( ) const &
inlineconstexpr

◆ begin() [1/2]

constexpr auto begin ( )
inlineconstexpr

◆ begin() [2/2]

constexpr auto begin ( ) const
inlineconstexpr

◆ end() [1/2]

VCCC_CONSTEXPR_AFTER_CXX17 auto end ( )
inline

◆ end() [2/2]

VCCC_CONSTEXPR_AFTER_CXX17 auto end ( ) const
inline

◆ pred()

constexpr const Pred& pred ( ) const
inlineconstexpr

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