Offcourse destructor is needed or smart pointer will do for dynamic memory allocation.local variable r stored in stack it is been handled in run time .
On 7/18/11, sivaviknesh s <sivavikne...@gmail.com> wrote: > Implement a C++ garbage collector efficiently..........any ideas ??? > > ..shud we need to do something with destructor??? > -- > Regards, > $iva > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > > -- Somnath Singh -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.