#include <iterable.h>
Public Member Functions | |
constexpr | Range (Derived *begin) |
Constructs a range including begin and all valid following blocks. | |
constexpr | Range (Derived *begin_inclusive, Derived *end_inclusive) |
Constructs a range of blocks from begin to end , inclusively. | |
constexpr Iterator & | begin () |
constexpr Iterator & | end () |
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.
Allocating or freeing blocks invalidates the range.