UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FUseSystemMallocForNew Class Reference

#include <MemoryBase.h>

+ Inheritance diagram for FUseSystemMallocForNew:

Public Member Functions

CORE_API voidoperator new (size_t Size)
 
CORE_API void operator delete (void *Ptr)
 
voidoperator new[] (size_t Size)
 
void operator delete[] (void *Ptr)
 

Detailed Description

Inherit from FUseSystemMallocForNew if you want your objects to be placed in memory alloced by the system malloc routines, bypassing GMalloc. This is e.g. used by FMalloc itself.

Member Function Documentation

◆ operator delete()

void FUseSystemMallocForNew::operator delete ( void Ptr)

Overloaded delete operator using the system allocator

Parameters
PtrPointer to delete

◆ operator delete[]()

void FUseSystemMallocForNew::operator delete[] ( void Ptr)

Overloaded array delete operator using the system allocator

Parameters
PtrPointer to delete

◆ operator new()

void * FUseSystemMallocForNew::operator new ( size_t  Size)

Overloaded new operator using the system allocator.

Parameters
SizeAmount of memory to allocate (in bytes)
Returns
A pointer to a block of memory with size Size or nullptr

◆ operator new[]()

void * FUseSystemMallocForNew::operator new[] ( size_t  Size)

Overloaded array new operator using the system allocator.

Parameters
SizeAmount of memory to allocate (in bytes)
Returns
A pointer to a block of memory with size Size or nullptr

The documentation for this class was generated from the following files: