2 #include <ToolchefsSTL/Globals.h>
12 virtual void* malloc(
size_t size) = 0;
13 virtual void free(
void* ptr) = 0;
19 static void* malloc_align(
size_t size,
size_t alignment) noexcept;
20 static void free_align(
void* ptr) noexcept;
22 void* malloc(
size_t size)
final;
23 void free(
void* ptr)
final;
27 TOOLCHEFSSTL_EXPORT
Allocator* defaultAllocator();