Pigweed
 
Loading...
Searching...
No Matches
pw::allocator::IterableBlock< Derived >::Iterator Class Referencefinal

#include <iterable.h>

Public Member Functions

constexpr Iterator (Derived *block)
 
constexpr Iteratoroperator++ ()
 
constexpr bool operator!= (const Iterator &other)
 
constexpr Derived * operator* ()
 

Detailed Description

template<typename Derived>
class pw::allocator::IterableBlock< Derived >::Iterator

Represents an iterator that moves forward through a list of blocks.

This class is not typically instantiated directly, but rather using a range-based for-loop using Block::Range.

Allocating or freeing blocks invalidates the iterator.


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