9#ifndef INC_KERNEL_HEAP_H
17template <
typename T,
typename... Args>
24 *cls =
new T(
move(args)...);
#define _Output
Definition CompilerHint.h:15
#define _Input
Definition CompilerHint.h:14
: Memory allocation support for the NeKernel.
#define err_global_get()
Definition KPC.h:25
UPS inline definitions.
Definition Device.h:12
void Void
Definition Config.h:87
BOOL mm_new_class(_Input _Output T **cls, _Input Args &&... args)
Allocate C++ class.
Definition HeapMgr.inl:18
constexpr KPCError kErrorInvalidData
Definition KPC.h:56
Args && move(Args &&arg)
Move object.
Definition Config.h:110
Void mm_delete_class(_Input _Output T **cls)
Delete and nullify C++ class.
Definition HeapMgr.inl:31