[fpc-pascal] Automatic objects

Lars Eriksen downgrade at gmx.org
Fri Aug 4 18:14:02 CEST 2006


Marco van de Voort wrote:

> The space of the object is cleaned. However if the object uses dyn memory,
> you will have to call the destructor (destroy) to make the object cleanup.
> 
> In general it is considered a good custom to destroy them.

So no C++-style automatic deallocation (the destructor is called 
automatically) is done?

If not, do neither classes nor objects provide such functionality?



More information about the fpc-pascal mailing list