openMSX
Classes | Functions
view::detail Namespace Reference

Classes

class  Drop
 
class  DropBack
 
class  Filter
 
class  FilteredIterator
 
class  Reverse
 
class  Take
 
class  TakeIterator
 
class  Transform
 
class  TransformIterator
 

Functions

template<typename Iterator >
constexpr Iterator safe_next (Iterator first, Iterator last, size_t n, std::input_iterator_tag)
 
template<typename Iterator >
constexpr Iterator safe_next (Iterator first, Iterator last, size_t n, std::random_access_iterator_tag)
 
template<typename Iterator >
constexpr Iterator safe_prev (Iterator first, Iterator last, size_t n, std::bidirectional_iterator_tag)
 
template<typename Iterator >
constexpr Iterator safe_prev (Iterator first, Iterator last, size_t n, std::random_access_iterator_tag)
 

Function Documentation

◆ safe_next() [1/2]

template<typename Iterator >
constexpr Iterator view::detail::safe_next ( Iterator  first,
Iterator  last,
size_t  n,
std::input_iterator_tag   
)
constexpr

Definition at line 19 of file view.hh.

Referenced by view::detail::Drop< Range >::begin().

◆ safe_next() [2/2]

template<typename Iterator >
constexpr Iterator view::detail::safe_next ( Iterator  first,
Iterator  last,
size_t  n,
std::random_access_iterator_tag   
)
constexpr

Definition at line 26 of file view.hh.

◆ safe_prev() [1/2]

template<typename Iterator >
constexpr Iterator view::detail::safe_prev ( Iterator  first,
Iterator  last,
size_t  n,
std::bidirectional_iterator_tag   
)
constexpr

Definition at line 32 of file view.hh.

Referenced by view::detail::DropBack< Range >::end().

◆ safe_prev() [2/2]

template<typename Iterator >
constexpr Iterator view::detail::safe_prev ( Iterator  first,
Iterator  last,
size_t  n,
std::random_access_iterator_tag   
)
constexpr

Definition at line 39 of file view.hh.