Lumiera  0.pre.03
»edit your freedom«
AllocationCluster::Storage Struct Reference

Description

maintaining the Allocation

Definition at line 93 of file allocation-cluster.hpp.

Public Member Functions

void adjustPos (int offset)
 
void * allot (size_t bytes, size_t alignment)
 
auto bytePos ()
 
bool hasReserve (int offset) const
 
bool matches_last_allocation (void const *loc, size_t siz) const
 

Public Attributes

void * pos {nullptr}
 
size_t rest {0}
 

Member Function Documentation

◆ adjustPos()

void adjustPos ( int  offset)
inline
Parameters
offset
Warning
be sure a negative offset is properly limited

Definition at line 299 of file allocation-cluster.hpp.

+ Collaboration diagram for AllocationCluster::Storage:

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