chsvlib
chsv helper source code

◆ destroy()

void destroy ( U *  p)

Destroys an object, pointed to by the parameter. The method does not deallocate the occupied memory, as it is performed by the deallocate method.

Template Parameters
Uis a type of an object to be destroyed.
Parameters
pis a pointer to an object to be destroyed.