3#include <Foundation/Memory/LinearAllocator.h>
9#if PL_ENABLED(PL_COMPILE_FOR_DEBUG)
10 static constexpr bool OverwriteMemoryOnReset =
true;
12 static constexpr bool OverwriteMemoryOnReset =
false;
19 PL_ALWAYS_INLINE
plAllocator* GetCurrentAllocator()
const {
return m_pCurrentAllocator; }
32 PL_ALWAYS_INLINE
static plAllocator* GetCurrentAllocator() {
return s_pAllocator->GetCurrentAllocator(); }
38 PL_MAKE_SUBSYSTEM_STARTUP_FRIEND(Foundation, FrameAllocator);
40 static void Startup();
41 static void Shutdown();
Base class for all memory allocators.
Definition Allocator.h:23
A double buffered stack allocator.
Definition FrameAllocator.h:7
Definition FrameAllocator.h:30
Definition LinearAllocator.h:12
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34