SlHelpers
Loading...
Searching...
No Matches
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:
  • /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9-build/slhelpers-20260428.f233ce9/include/helpers/Views.h