openMSX
Public Types | Public Member Functions | Friends | List of all members
view::detail::FilteredIterator< Iterator, Sentinel, Predicate > Class Template Reference

#include <view.hh>

Public Types

using value_type = typename std::iterator_traits< Iterator >::value_type
 
using reference = typename std::iterator_traits< Iterator >::reference
 
using pointer = typename std::iterator_traits< Iterator >::pointer
 
using difference_type = typename std::iterator_traits< Iterator >::difference_type
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

constexpr FilteredIterator (Iterator it_, Sentinel last_, Predicate pred_)
 
constexpr reference operator* () const
 
constexpr pointer operator-> () const
 
constexpr FilteredIteratoroperator++ ()
 
constexpr FilteredIterator operator++ (int)
 

Friends

constexpr friend bool operator== (const FilteredIterator &x, const FilteredIterator &y)
 
constexpr friend bool operator!= (const FilteredIterator &x, const FilteredIterator &y)
 

Detailed Description

template<typename Iterator, typename Sentinel, typename Predicate>
class view::detail::FilteredIterator< Iterator, Sentinel, Predicate >

Definition at line 289 of file view.hh.

Member Typedef Documentation

◆ difference_type

template<typename Iterator , typename Sentinel , typename Predicate >
using view::detail::FilteredIterator< Iterator, Sentinel, Predicate >::difference_type = typename std::iterator_traits<Iterator>::difference_type

Definition at line 295 of file view.hh.

◆ iterator_category

template<typename Iterator , typename Sentinel , typename Predicate >
using view::detail::FilteredIterator< Iterator, Sentinel, Predicate >::iterator_category = std::forward_iterator_tag

Definition at line 296 of file view.hh.

◆ pointer

template<typename Iterator , typename Sentinel , typename Predicate >
using view::detail::FilteredIterator< Iterator, Sentinel, Predicate >::pointer = typename std::iterator_traits<Iterator>::pointer

Definition at line 294 of file view.hh.

◆ reference

template<typename Iterator , typename Sentinel , typename Predicate >
using view::detail::FilteredIterator< Iterator, Sentinel, Predicate >::reference = typename std::iterator_traits<Iterator>::reference

Definition at line 293 of file view.hh.

◆ value_type

template<typename Iterator , typename Sentinel , typename Predicate >
using view::detail::FilteredIterator< Iterator, Sentinel, Predicate >::value_type = typename std::iterator_traits<Iterator>::value_type

Definition at line 292 of file view.hh.

Constructor & Destructor Documentation

◆ FilteredIterator()

template<typename Iterator , typename Sentinel , typename Predicate >
constexpr view::detail::FilteredIterator< Iterator, Sentinel, Predicate >::FilteredIterator ( Iterator  it_,
Sentinel  last_,
Predicate  pred_ 
)
inlineconstexpr

Definition at line 298 of file view.hh.

Member Function Documentation

◆ operator*()

template<typename Iterator , typename Sentinel , typename Predicate >
constexpr reference view::detail::FilteredIterator< Iterator, Sentinel, Predicate >::operator* ( ) const
inlineconstexpr

Definition at line 313 of file view.hh.

◆ operator++() [1/2]

template<typename Iterator , typename Sentinel , typename Predicate >
constexpr FilteredIterator& view::detail::FilteredIterator< Iterator, Sentinel, Predicate >::operator++ ( )
inlineconstexpr

Definition at line 316 of file view.hh.

◆ operator++() [2/2]

template<typename Iterator , typename Sentinel , typename Predicate >
constexpr FilteredIterator view::detail::FilteredIterator< Iterator, Sentinel, Predicate >::operator++ ( int  )
inlineconstexpr

Definition at line 323 of file view.hh.

◆ operator->()

template<typename Iterator , typename Sentinel , typename Predicate >
constexpr pointer view::detail::FilteredIterator< Iterator, Sentinel, Predicate >::operator-> ( ) const
inlineconstexpr

Definition at line 314 of file view.hh.

Friends And Related Function Documentation

◆ operator!=

template<typename Iterator , typename Sentinel , typename Predicate >
constexpr friend bool operator!= ( const FilteredIterator< Iterator, Sentinel, Predicate > &  x,
const FilteredIterator< Iterator, Sentinel, Predicate > &  y 
)
friend

Definition at line 308 of file view.hh.

◆ operator==

template<typename Iterator , typename Sentinel , typename Predicate >
constexpr friend bool operator== ( const FilteredIterator< Iterator, Sentinel, Predicate > &  x,
const FilteredIterator< Iterator, Sentinel, Predicate > &  y 
)
friend

Definition at line 304 of file view.hh.


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