ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::SequenceRange< S > Class Template Reference

the items of a SEQUENCE as a range of C++ More...

#include <ADS/sequence/SequenceRange.h>

Inheritance diagram for ADS::SequenceRange< S >:

Classes

class  iterator
 a position of the sequence, read by *; the end is an iterator marked as such, equal to every iterator on a finished position More...

Public member functions

 SequenceRange (void)=default
 the range of no sequence
 SequenceRange (const S &s)
 the range of the items of \( s \)
iterator begin (void) const
 the iterator on the first item, head()
iterator end (void) const
 the end, an iterator, so that the range is common and the algorithms of C++17 and of Boost take it, but no position \( \mathit{pos}_n \) is computed

Detailed description

template<Sequence S>
class ADS::SequenceRange< S >

the items of a SEQUENCE as a range of C++

Constructor and destructor documentation

◆ SequenceRange() [1/2]

template<Sequence S>
ADS::SequenceRange< S >::SequenceRange ( void )
default

the range of no sequence

◆ SequenceRange() [2/2]

template<Sequence S>
ADS::SequenceRange< S >::SequenceRange ( const S & s)
inlineexplicit

the range of the items of \( s \)

Member function documentation

◆ begin()

template<Sequence S>
iterator ADS::SequenceRange< S >::begin ( void ) const
inlinenodiscard

the iterator on the first item, head()

◆ end()

template<Sequence S>
iterator ADS::SequenceRange< S >::end ( void ) const
inlinenodiscard

the end, an iterator, so that the range is common and the algorithms of C++17 and of Boost take it, but no position \( \mathit{pos}_n \) is computed


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