|
Broom 1.0.0
A thread-local C++ Garbage Collector
|
#include <allocator.h>


Public Member Functions | |
| MemorySpace (const void *start, size_t size) | |
| ~MemorySpace ()=default | |
| UintPtr | Top () const |
| UintPtr | Allocate (size_t size) |
| void | Fill () |
| size_t | RemainingBytes () const |
| bool | IsValid () const |
Public Member Functions inherited from broom::MemoryRegion | |
| MemoryRegion (const void *start, size_t size) | |
| MemoryRegion (UintPtr start, UintPtr end) | |
| MemoryRegion (const void *start, const void *end) | |
| ~MemoryRegion ()=default | |
| size_t | Size () const |
| UintPtr | Start () const |
| UintPtr | End () const |
| void * | StartPtr () const |
| void * | EndPtr () const |
| bool | AttemptGrow (size_t howmuch) |
| void | IncrementStart (size_t how_much) |
| bool | operator== (const MemoryRegion &other) const |
| bool | operator!= (const MemoryRegion &other) const |
Additional Inherited Members | |
Public Types inherited from broom::MemoryRegion | |
| using | SetCompare = std::integral_constant< decltype(&SetCompareFn), &SetCompareFn > |
Protected Attributes inherited from broom::MemoryRegion | |
| UintPtr | start_ |
| size_t | size_ |
Definition at line 72 of file allocator.h.
Definition at line 74 of file allocator.h.
|
default |
|
inline |
Definition at line 81 of file allocator.h.
|
inline |
Definition at line 98 of file allocator.h.
|
inline |
Definition at line 101 of file allocator.h.
|
inline |
Definition at line 99 of file allocator.h.
|
inline |
Definition at line 78 of file allocator.h.