SlHelpers
Loading...
Searching...
No Matches
SlHelpers::Views::PairwiseView< V > Class Template Reference

Mimic c++23's std::views::adjacent<2>. More...

#include <Views.h>

Inheritance diagram for SlHelpers::Views::PairwiseView< V >:

Classes

struct  Sentinel
 The Sentinel for PairwiseView's Iterator. More...
struct  Iterator
 The Iterator for PairwiseView. More...

Public Member Functions

constexpr PairwiseView (V base)
 Construct a new PairwiseView containing base.
auto begin ()
 Get the beginning of the range.
auto end ()
 Get the end of the range.

Detailed Description

template<std::ranges::view V>
class SlHelpers::Views::PairwiseView< V >

Mimic c++23's std::views::adjacent<2>.


The documentation for this class was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9-build/slhelpers-20260428.f233ce9/include/helpers/Views.h