engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
FUseSystemMallocForNew类 参考

Inherit from FUseSystemMallocForNew if you want your objects to be placed in memory alloced by the system malloc routines, bypassing GMalloc. 更多...

#include <MemoryBase.h>

+ 类 FUseSystemMallocForNew 继承关系图:

Public 成员函数

void operator delete (void *Ptr)
 Overloaded delete operator using the system allocator 更多...
 
void operator delete[] (void *Ptr)
 Overloaded array delete operator using the system allocator 更多...
 
void * operator new (size_t Size)
 Overloaded new operator using the system allocator. 更多...
 
void * operator new[] (size_t Size)
 Overloaded array new operator using the system allocator. 更多...
 

详细描述

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.

成员函数说明

◆ operator delete()

void FUseSystemMallocForNew::operator delete ( void *  Ptr)

Overloaded delete operator using the system allocator

参数
PtrPointer to delete

◆ operator delete[]()

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

Overloaded array delete operator using the system allocator

参数
PtrPointer to delete

◆ operator new()

void * FUseSystemMallocForNew::operator new ( size_t  Size)

Overloaded new operator using the system allocator.

参数
SizeAmount of memory to allocate (in bytes)
返回
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.

参数
SizeAmount of memory to allocate (in bytes)
返回
A pointer to a block of memory with size Size or nullptr

该类的文档由以下文件生成: