MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / operator new

Function operator new

3rd/mimalloc-2.0.9/include/mimalloc-new-delete.h:40–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 void operator delete[](void* p, const std::nothrow_t&) noexcept { mi_free(p); }
39
40 mi_decl_new(n) void* operator new(std::size_t n) noexcept(false) { return mi_new(n); }
41 mi_decl_new(n) void* operator new[](std::size_t n) noexcept(false) { return mi_new(n); }
42
43 mi_decl_new_nothrow(n) void* operator new (std::size_t n, const std::nothrow_t& tag) noexcept { (void)(tag); return mi_new_nothrow(n); }

Callers 5

win_fd_set_adapterMethod · 0.85
reserveMethod · 0.85
aligned_newFunction · 0.85
operator newMethod · 0.85
operator newMethod · 0.85

Calls 4

mi_newFunction · 0.85
mi_new_nothrowFunction · 0.85
mi_new_alignedFunction · 0.85
mi_new_aligned_nothrowFunction · 0.85

Tested by

no test coverage detected