MCPcopy Create free account
hub / github.com/CppCXY/EmmyLuaCodeStyle / operator delete[]

Function operator delete[]

3rd/mimalloc-2.0.9/src/alloc-override.c:172–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 #if (__cplusplus > 201402L && defined(__cpp_aligned_new)) && (!defined(__GNUC__) || (__GNUC__ > 5))
171 void operator delete (void* p, std::align_val_t al) noexcept { mi_free_aligned(p, static_cast<size_t>(al)); }
172 void operator delete[](void* p, std::align_val_t al) noexcept { mi_free_aligned(p, static_cast<size_t>(al)); }
173 void operator delete (void* p, std::size_t n, std::align_val_t al) noexcept { mi_free_size_aligned(p, n, static_cast<size_t>(al)); };
174 void operator delete[](void* p, std::size_t n, std::align_val_t al) noexcept { mi_free_size_aligned(p, n, static_cast<size_t>(al)); };
175 void operator delete (void* p, std::align_val_t al, const std::nothrow_t&) noexcept { mi_free_aligned(p, static_cast<size_t>(al)); }

Callers

nothing calls this directly

Calls 2

mi_free_alignedFunction · 0.85
mi_free_size_alignedFunction · 0.85

Tested by

no test coverage detected