SlHelpers
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  Iterator
 The Iterator for PairwiseView. More...
 
struct  Sentinel
 The Sentinel for PairwiseView's Iterator. 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: