rangeless::fn
rangeless::fn::impl::seq< Gen >::iterator Class Reference

#include <fn.hpp>

Public Types

using iterator_category = std::input_iterator_tag
 
using difference_type = void
 
using value_type = seq::value_type
 
using pointer = value_type *
 
using reference = value_type &&
 

Public Member Functions

 iterator (seq *p=nullptr)
 
iteratoroperator++ ()
 
maybe< value_typeoperator++ (int)
 
reference operator * () const
 
pointer operator-> () const
 
bool operator== (const iterator &other) const
 
bool operator!= (const iterator &other) const
 

Detailed Description

template<typename Gen>
class rangeless::fn::impl::seq< Gen >::iterator

Definition at line 463 of file fn.hpp.

Member Typedef Documentation

◆ difference_type

template<typename Gen>
using rangeless::fn::impl::seq< Gen >::iterator::difference_type = void

Definition at line 467 of file fn.hpp.

◆ iterator_category

template<typename Gen>
using rangeless::fn::impl::seq< Gen >::iterator::iterator_category = std::input_iterator_tag

Definition at line 466 of file fn.hpp.

◆ pointer

template<typename Gen>
using rangeless::fn::impl::seq< Gen >::iterator::pointer = value_type*

Definition at line 469 of file fn.hpp.

◆ reference

template<typename Gen>
using rangeless::fn::impl::seq< Gen >::iterator::reference = value_type&&

Definition at line 470 of file fn.hpp.

◆ value_type

template<typename Gen>
using rangeless::fn::impl::seq< Gen >::iterator::value_type = seq::value_type

Definition at line 468 of file fn.hpp.

Constructor & Destructor Documentation

◆ iterator()

template<typename Gen>
rangeless::fn::impl::seq< Gen >::iterator::iterator ( seq p = nullptr)
inline

Definition at line 472 of file fn.hpp.

Member Function Documentation

◆ operator *()

template<typename Gen>
reference rangeless::fn::impl::seq< Gen >::iterator::operator * ( ) const
inline

Definition at line 508 of file fn.hpp.

◆ operator!=()

template<typename Gen>
bool rangeless::fn::impl::seq< Gen >::iterator::operator!= ( const iterator other) const
inline

Definition at line 519 of file fn.hpp.

◆ operator++() [1/2]

template<typename Gen>
iterator& rangeless::fn::impl::seq< Gen >::iterator::operator++ ( )
inline

Definition at line 475 of file fn.hpp.

◆ operator++() [2/2]

template<typename Gen>
maybe<value_type> rangeless::fn::impl::seq< Gen >::iterator::operator++ ( int  )
inline

Definition at line 499 of file fn.hpp.

◆ operator->()

template<typename Gen>
pointer rangeless::fn::impl::seq< Gen >::iterator::operator-> ( ) const
inline

Definition at line 512 of file fn.hpp.

◆ operator==()

template<typename Gen>
bool rangeless::fn::impl::seq< Gen >::iterator::operator== ( const iterator other) const
inline

Definition at line 514 of file fn.hpp.


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