Helios Engine
A modular ECS based data-oriented C++23 game engine framework
Loading...
Searching...
No Matches
helios::mem::StackAllocator::Marker Struct Reference

Marker for rewind operations. More...

#include <stack_allocator.hpp>

Public Attributes

void * block = nullptr
 Block containing the marker offset; invalid after growth.
size_t offset = 0
 Bump offset within block at marker capture time.

Detailed Description

Marker for rewind operations.

Definition at line 38 of file stack_allocator.hpp.

Member Data Documentation

◆ block

void* helios::mem::StackAllocator::Marker::block = nullptr

Block containing the marker offset; invalid after growth.

Definition at line 40 of file stack_allocator.hpp.

◆ offset

size_t helios::mem::StackAllocator::Marker::offset = 0

Bump offset within block at marker capture time.

Definition at line 42 of file stack_allocator.hpp.