Macaulay2 Engine
Loading...
Searching...
No Matches

◆ ~F4MemoryBlock()

template<typename T, long int NSLAB>
F4MemoryBlock< T, NSLAB >::~F4MemoryBlock ( )

Definition at line 85 of file memblock.hpp.

86{
87 // Destroy the slabs one by one
88 while (first_slab != 0)
89 {
91 first_slab = first_slab->next;
92 delete tmp;
93 }
94
95 current_slab = 0;
96 last_slab = 0;
97 next_free = 0;
98}
slab * current_slab
Definition memblock.hpp:47
slab * last_slab
Definition memblock.hpp:48
slab * first_slab
Definition memblock.hpp:46

References current_slab, first_slab, last_slab, and next_free.