SlHelpers
SlHelpers::Views::PairwiseView< V >::Iterator Struct Reference

The Iterator for PairwiseView. More...

#include <Views.h>

Public Types

using ValueType = std::pair< decltype(*m_cur), decltype(*m_cur)>
 Type of the stored pair in this Iterator.
 

Public Member Functions

 Iterator (std::ranges::iterator_t< V > begin, std::ranges::iterator_t< V > end)
 Construct a new Iterator.
 
ValueType operator* () const
 Dereference this Iterator – obtain the pair.
 
Iteratoroperator++ ()
 Pre-increment this Iterator.
 
bool operator!= (Sentinel s) const
 Compare to Sentinel.
 

Detailed Description

template<std::ranges::view V>
struct SlHelpers::Views::PairwiseView< V >::Iterator

The Iterator for PairwiseView.


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