SpiecsEngine
 
Loading...
Searching...
No Matches

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

void operator delete[] ( void * ptr,
std::align_val_t align )
noexcept

override delete[] operator.

Parameters
[in]ptrmemory pointer.
[in]alignaligned bytes.

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 406 of file MemoryEntry.h.

407{
409 {
414 {
416 return;
417 }
418
423 {
425 return;
426 }
427
432 {
433 return;
434 }
435
439 default:
440 {
442 return;
443 }
444 }
445}
static void freeToOS_Aligned(void *ptr, std::align_val_t align)
free memory to OS aligned version.
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::freeToPool(), Spices::MemoryEntry::GetProcessState(), and Spices::Run.