AFF --- A container for numbers (array) by Friederich and Forbriger.

◆ ~SHeap()

template<typename T >
aff::util::SHeap< T >::~SHeap ( )
inline

Free heap memory.

remove counted reference

Definition at line 105 of file sharedheap_def.h.

106  {
107  if ((Mheap!=0) && (Msize>0) && (!Mextern))
108  {
109  delete[] Mheap;
110  }
111  }
bool Mextern
true if memory allocation is handled elsewhere
Definition: sharedheap.h:115
Tsize Msize
size (number of elements) of array
Definition: sharedheap.h:113
T * Mheap
shared raw array on heap
Definition: sharedheap.h:112