25 #ifdef E3D_MANAGED_HEAP
29 #include "eng3d/heap_ext.hpp"
30 #include "eng3d/utils.hpp"
32 void*
operator new(std::size_t size) {
34 std::printf(
"Alloc size = %zu\n", size);
37 void* p = std::malloc(size);
42 void operator delete(
void* ptr) noexcept {
46 void*
operator new[](std::size_t size) {
48 std::printf(
"Alloc[] size = %zu\n", size);
51 void* p = std::malloc(size);
56 void operator delete[](
void* ptr) noexcept {
#define CXX_THROW(class,...)