SpiecsEngine
 
Loading...
Searching...
No Matches

◆ operator delete[]() [1/2]

void operator delete[] ( void * ptr)
noexcept

override delete[] operator.

Parameters
[in]ptrmemory pointer.

free memory using free before MemoryPool is initialized.

free memory using MemoryPool if is initialized.

Do nothing while exist program.

free memory using free default.

Definition at line 248 of file MemoryEntry.h.

249{
251 {
256 {
258 return;
259 }
260
265 {
267 return;
268 }
269
274 {
275 return;
276 }
277
281 default:
282 {
284 return;
285 }
286 }
287}
static void freeToOS(void *ptr)
free memory to OS.
static ProcessState GetProcessState()
Get ProcessState Instance.
Definition MemoryEntry.h:29
static void freeToPool(void *ptr)
free memory to MemoryPool.
Definition MemoryEntry.h:90

References Spices::BeforeEntry, Spices::Exit, Spices::MemoryEntry::freeToOS(), Spices::MemoryEntry::freeToPool(), Spices::MemoryEntry::GetProcessState(), and Spices::Run.