4.6.0
Freundlich's C++ toolkit
Loading...
Searching...
No Matches
fcppt::iterator::range< Iterator > Class Template Reference

Detailed Description

template<typename Iterator>
class fcppt::iterator::range< Iterator >

A range formed from two iterators.

Template Parameters
IteratorMust be an iterator.

Public Types

using iterator = Iterator
 
using const_iterator = Iterator
 

Public Member Functions

 range (Iterator &&begin, Iterator &&end)
 
 range (Iterator const &begin, Iterator const &end)
 
Iterator begin () const
 
Iterator end () const
 

Member Typedef Documentation

◆ const_iterator

template<typename Iterator >
using fcppt::iterator::range< Iterator >::const_iterator = Iterator

◆ iterator

template<typename Iterator >
using fcppt::iterator::range< Iterator >::iterator = Iterator

Constructor & Destructor Documentation

◆ range() [1/2]

template<typename Iterator >
fcppt::iterator::range< Iterator >::range ( Iterator && begin,
Iterator && end )

◆ range() [2/2]

template<typename Iterator >
fcppt::iterator::range< Iterator >::range ( Iterator const & begin,
Iterator const & end )

Member Function Documentation

◆ begin()

template<typename Iterator >
Iterator fcppt::iterator::range< Iterator >::begin ( ) const
nodiscard

◆ end()

template<typename Iterator >
Iterator fcppt::iterator::range< Iterator >::end ( ) const
nodiscard