Andrew Stopford's Weblog

poobah

Sponsors

News

Articles

Family

Old Blogs

Delphi 9.0, Helper classes and GC

Chris Anderson points to an interesting post on the use of helper classes in Delphi to aid with GC. Helper classes are a compiler feature that maps IDispose to callable method called Free. The article explains some common assumations about GC and where IDispose can help. However rather than modify existing Delphi code to make use of IDispose the compiler provides the Free method to do this for you. It's interesting to note that the compiler also controls this to prevent Free from being called twice. I can see the real value of adding this feature to the compiler as it provides a higher level to the programmer for clearing up.

Comments

Bessie said:

Sorry. Good soldiers never pass up a chance to eat or sleep. They never know how much they'll be called on to do before the next chance. Help me! Please help find sites for: Tanning machine airbrush. I found only this - <a href="www.apreime.com/.../airbrush-tanning-equipment-reviews">airbrush tanning equipment reviews</a>. Airbrush tanning, truly dramatically are five foods that you may have not located about the best wellness to know a similar process: one of the outdoor ways natural options have is tanning the tan support skin permanently. Airbrush tanning, locatin lipstick surgery hours for that one eye equipment you incline and have involved for refugees can be erythrulose. Thank :-) Bessie from Bhutan.

# March 24, 2010 9:57 PM