Pigweed
C/C++ API Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Loading...
Searching...
No Matches
Public Member Functions | List of all members
pw::allocator::IterableBlock< Derived >::Iterator Class Referencefinal

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: