MCRO
C++23 utilities for Unreal Engine.
Loading...
Searching...
No Matches
New.h File Reference
#include "CoreMinimal.h"
#include "Mcro/Macros.h"
#include "HAL/MallocAnsi.h"

Go to the source code of this file.

Namespaces

namespace  Mcro
 
namespace  Mcro::Ansi
 Epic Games may not agree with standards because they know better, but sometimes we have to bare consequences of such wisdom. This namespace contains utilities which politely circumvent the obviously superior decisions Epic Games has made.
 

Functions

template<typename T , typename... Args>
T * Mcro::Ansi::New (Args &&... args)
 Force using the ANSI memory allocation behavior, instead of the Unreal default.
 
template<typename T >
void Mcro::Ansi::Delete (T *ptr)
 Force using the ANSI memory release behavior, instead of the Unreal default.
 

Detailed Description

Author
David Mórász
Date
2025

Definition in file New.h.