[fpc-devel] FreeAndNil implementation
Luiz Americo
pascalive at bol.com.br
Mon Feb 5 02:48:52 CET 2007
Here is an interesting reading:
http://blogs.codegear.com/abauer/archive/2006/11/01/28852.aspx
Maybe, the suggested FreeAndNil implementation can be usefull. See in
comments.
BTW: Is the bellow afirmation also valid for fpc??
"we alluded to the fact that while the constructor of an object is
executing, if any exception is raised the destructor will automatically
be called, the object will be freed and the exception is allowed to
continue on its merry way."
Complete story here:
http://blogs.codegear.com/abauer/archive/2006/11/03/28916.aspx
Luiz
More information about the fpc-devel
mailing list