FUseSystemMallocForNew::operator new[]

Overloaded array new operator using the system allocator.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/HAL/MemoryBase.h

Include

#include "HAL/MemoryBase.h"

Source

/Engine/Source/Runtime/Core/Private/HAL/UnrealMemory.cpp

Syntax

void * operator new[]
(
    size_t Size
)

Remarks

Overloaded array new operator using the system allocator.

Returns

A pointer to a block of memory with size Size or nullptr

Parameters

Parameter

Description

Size

Amount of memory to allocate (in bytes)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss