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

#include <block.h>

Public Member Functions

 Range (Block *begin)
 Constructs a range including begin and all valid following blocks.
 
 Range (Block *begin_inclusive, Block *end_inclusive)
 Constructs a range of blocks from begin to end, inclusively.
 
Iteratorbegin ()
 
Iteratorend ()
 

Detailed Description

Represents a range of blocks that can be iterated over.

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

for (auto* block : Range(first, last)) { ... }
Definition: block.h:404

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