Pigweed
Loading...
Searching...
No Matches
ReverseRange Class Referencefinal

#include <block.h>

Public Member Functions

 ReverseRange (Block *rbegin)
 Constructs a range including rbegin and all valid preceding blocks.
 
 ReverseRange (Block *rbegin_inclusive, Block *rend_inclusive)
 Constructs a range of blocks from rbegin to rend, inclusively.
 
ReverseIteratorbegin ()
 
ReverseIteratorend ()
 

Detailed Description

Represents a range of blocks that can be iterated over in the reverse direction.

The typical usage of this class is in a range-based for-loop, e.g.

for (auto* block : ReverseRange(last, first)) { ... }
Definition: block.h:428

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