
"Kasra" <kasra_n500@yahoo.com> wrote in message news:589283.19578.qm@web110006.mail.gq1.yahoo.com...
Edward Diener wrote:
Also, for people looking for a runtime envrironment for C++, they can look
at Ch.
Or CERN.ROOT.CINT project.
Either way we are looking at GC in C++ from the wrong direction. I like to know and be able to determine where the memory allocation deallocation occurs. When the constructor and destructor is called using RAII, however, this doesn't mean I shouldn't use GC.
GC is supposed to release unused memory, not to call the destructors of objects; although it does on most implementations.
It is quite possible to invoke destructors of objects in a deterministic way when finalizing gc objects, except when cycles are involved. The test code I have uploaded in boost.vault does exactly that. The direct download link is: http://www.boostpro.com/vault/index.php?action=downloadfile&filename=gc1.zip&directory=Memory& __________ Information from ESET Smart Security, version of virus signature database 4036 (20090427) __________ The message was checked by ESET Smart Security. http://www.eset.com