openMSX
Public Types | Public Member Functions | List of all members
view::detail::Filter< Range, Predicate > Class Template Reference

#include <view.hh>

Public Types

using Iterator = decltype(std::begin(std::declval< Range >()))
 
using Sentinel = decltype(std::end(std::declval< Range >()))
 
using F_Iterator = FilteredIterator< Iterator, Sentinel, Predicate >
 

Public Member Functions

constexpr Filter (Range &&range_, Predicate pred_)
 
constexpr F_Iterator begin () const
 
constexpr F_Iterator end () const
 

Detailed Description

template<typename Range, typename Predicate>
class view::detail::Filter< Range, Predicate >

Definition at line 331 of file view.hh.

Member Typedef Documentation

◆ F_Iterator

template<typename Range , typename Predicate >
using view::detail::Filter< Range, Predicate >::F_Iterator = FilteredIterator<Iterator, Sentinel, Predicate>

Definition at line 336 of file view.hh.

◆ Iterator

template<typename Range , typename Predicate >
using view::detail::Filter< Range, Predicate >::Iterator = decltype(std::begin(std::declval<Range>()))

Definition at line 334 of file view.hh.

◆ Sentinel

template<typename Range , typename Predicate >
using view::detail::Filter< Range, Predicate >::Sentinel = decltype(std::end (std::declval<Range>()))

Definition at line 335 of file view.hh.

Constructor & Destructor Documentation

◆ Filter()

template<typename Range , typename Predicate >
constexpr view::detail::Filter< Range, Predicate >::Filter ( Range &&  range_,
Predicate  pred_ 
)
inlineconstexpr

Definition at line 338 of file view.hh.

Member Function Documentation

◆ begin()

template<typename Range , typename Predicate >
constexpr F_Iterator view::detail::Filter< Range, Predicate >::begin ( ) const
inlineconstexpr

Definition at line 343 of file view.hh.

◆ end()

template<typename Range , typename Predicate >
constexpr F_Iterator view::detail::Filter< Range, Predicate >::end ( ) const
inlineconstexpr

Definition at line 347 of file view.hh.


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