Iros
 
Loading...
Searching...
No Matches
di::container::TakeWhileView< View, Pred > Class Template Reference

#include <di/container/view/take_while_view.h>

Inheritance diagram for di::container::TakeWhileView< View, Pred >:
[legend]

Public Member Functions

 TakeWhileView ()=default
 
constexpr TakeWhileView (View base, Pred predicate)
 
constexpr auto base () const &-> View requires(concepts::CopyConstructible< View >)
 
constexpr auto base () &&-> View
 
constexpr auto pred () const -> Pred const &
 
constexpr auto begin ()
 
constexpr auto begin () const
 
constexpr auto end ()
 
constexpr auto end () const
 
- Public Member Functions inherited from di::container::ViewInterface< TakeWhileView< View, Pred > >
constexpr auto empty () -> bool requires(concepts::SizedContainer< TakeWhileView< View, Pred > >||concepts::ForwardContainer< TakeWhileView< View, Pred > >)
 
constexpr auto empty () const -> bool requires(concepts::SizedContainer< TakeWhileView< View, Pred > const >||concepts::ForwardContainer< TakeWhileView< View, Pred > const >)
 
constexpr operator bool ()
 
constexpr operator bool () const
 
constexpr auto cbegin ()
 
constexpr auto cbegin () const
 
constexpr auto cend ()
 
constexpr auto cend () const
 
constexpr auto data ()
 
constexpr auto data () const
 
constexpr auto size ()
 
constexpr auto size () const
 
constexpr auto front ()
 
constexpr auto front () const
 
constexpr auto back ()
 
constexpr auto back () const
 
constexpr auto operator[] (meta::ContainerSSizeType< Cont > n) -> decltype(auto)
 
constexpr auto operator[] (meta::ContainerSSizeType< Cont > n) const -> decltype(auto)
 
constexpr auto at (meta::ContainerSSizeType< Cont > n) -> Optional< meta::ContainerReference< Cont > >
 
constexpr auto at (meta::ContainerSSizeType< Cont > n) const -> Optional< meta::ContainerReference< Cont > >
 

Constructor & Destructor Documentation

◆ TakeWhileView() [1/2]

template<concepts::View View, typename Pred>
di::container::TakeWhileView< View, Pred >::TakeWhileView ( )
default

◆ TakeWhileView() [2/2]

template<concepts::View View, typename Pred>
di::container::TakeWhileView< View, Pred >::TakeWhileView ( View base,
Pred predicate )
inlineexplicitconstexpr

Member Function Documentation

◆ base() [1/2]

template<concepts::View View, typename Pred>
auto di::container::TakeWhileView< View, Pred >::base ( ) && -> View
inlineconstexpr

◆ base() [2/2]

template<concepts::View View, typename Pred>
auto di::container::TakeWhileView< View, Pred >::base ( ) const & -> View requires(concepts::CopyConstructible<View>)
inlineconstexpr

◆ begin() [1/2]

template<concepts::View View, typename Pred>
auto di::container::TakeWhileView< View, Pred >::begin ( )
inlineconstexpr

◆ begin() [2/2]

template<concepts::View View, typename Pred>
auto di::container::TakeWhileView< View, Pred >::begin ( ) const
inlineconstexpr

◆ end() [1/2]

template<concepts::View View, typename Pred>
auto di::container::TakeWhileView< View, Pred >::end ( )
inlineconstexpr

◆ end() [2/2]

template<concepts::View View, typename Pred>
auto di::container::TakeWhileView< View, Pred >::end ( ) const
inlineconstexpr

◆ pred()

template<concepts::View View, typename Pred>
auto di::container::TakeWhileView< View, Pred >::pred ( ) const -> Pred const&
inlineconstexpr

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