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

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

+ Inheritance diagram for filter_view< V, Pred >:

Classes

class  iterator
 
class  sentinel
 

Public Member Functions

 filter_view ()=default
 
constexpr filter_view (V base, Pred pred)
 
template<typename V2 = V, std::enable_if_t< copy_constructible< V2 >::value, int > = 0>
constexpr V base () const &
 
constexpr V base () const &&
 
constexpr const Pred & pred () const
 
constexpr iterator begin ()
 
constexpr auto end ()
 
- Public Member Functions inherited from view_interface< filter_view< V, Pred > >
constexpr bool empty ()
 
constexpr bool empty ()
 
constexpr bool empty () const
 
constexpr bool empty () const
 
constexpr auto cbegin ()
 
constexpr auto cbegin () const
 
constexpr auto cend ()
 
constexpr auto cend () const
 
constexpr operator bool ()
 
constexpr operator bool () const
 
constexpr auto data ()
 
constexpr auto data () const
 
constexpr auto size ()
 
constexpr auto size () const
 
constexpr decltype(auto) front ()
 
constexpr decltype(auto) front () const
 
constexpr decltype(auto) back ()
 
constexpr decltype(auto) back () const
 
constexpr decltype(auto) operator[] (range_difference_t< R > n)
 
constexpr decltype(auto) operator[] (range_difference_t< R > n) const
 

Friends

class iterator
 

Additional Inherited Members

- Public Types inherited from view_interface< filter_view< V, Pred > >
using $vccc_derived = filter_view< V, Pred >
 

Constructor & Destructor Documentation

◆ filter_view() [1/2]

filter_view ( )
default

◆ filter_view() [2/2]

constexpr filter_view ( base,
Pred  pred 
)
inlineexplicitconstexpr

Member Function Documentation

◆ base() [1/2]

constexpr V base ( ) const &
inlineconstexpr

◆ base() [2/2]

constexpr V base ( ) const &&
inlineconstexpr

◆ begin()

constexpr iterator begin ( )
inlineconstexpr

◆ end()

constexpr auto end ( )
inlineconstexpr

◆ pred()

constexpr const Pred& pred ( ) const
inlineconstexpr

Friends And Related Function Documentation

◆ iterator

friend class iterator
friend

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