[+] AuHUPOf_t

This commit is contained in:
Reece Wilson 2024-01-18 17:19:35 +00:00
parent d1ab8377bc
commit 9fe0655959
2 changed files with 7 additions and 1 deletions

View File

@ -363,6 +363,9 @@ namespace Aurora::Memory
});
}
template <typename T>
using HUPOf_t = AuUPtr<T, decltype(&Heap::DeleteThat<T>)>;
protected:
friend struct ProxyHeap;

View File

@ -113,4 +113,7 @@ static bool AuIsThreadRunning()
static inline void AuDebugBreak()
{
AuDebug::DebugBreak();
}
}
template <typename T>
using AuHUPOf_t = typename Aurora::Memory::Heap::HUPOf_t<T>;