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

◆ ~ConstSharedHeap()

template<typename T >
aff::ConstSharedHeap< T >::~ConstSharedHeap ( )
inline

Deallocate heap memory if this is the last referencing instance.

delete representation

Definition at line 153 of file sharedheap_def.h.

154  {
155  if (--(Mheapstruct->Mnref) < 1)
156  {
157  delete Mheapstruct;
158  }
159  }
Theapstruct * Mheapstruct
shared heap structure
Definition: sharedheap.h:229
Tsize Mnref
number of referencing instances
Definition: sharedheap.h:114