we can use auto_ptr class defined in std to implement garbage collector.. by using reference count method
On Mon, Jul 18, 2011 at 10:45 PM, Vivek Srivastava < [email protected]> wrote: > Use smart pointers from boost library. > > > On Mon, Jul 18, 2011 at 10:24 PM, sivaviknesh s <[email protected]>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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]. >> For more options, visit this group at >> http://groups.google.com/group/algogeeks?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
