LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Implementing a Garbage Collector in C++ (https://www.linuxquestions.org/questions/programming-9/implementing-a-garbage-collector-in-c-750718/)

Dan04 08-30-2009 02:30 AM

Quote:

Originally Posted by graemef (Post 3660257)
Maybe you could consider using auto_ptr, rather than a full blown garbage collector?

You can't have containers of auto_ptr, which makes it very useless as a general-purpose pointer class. A Boost shared_ptr could do the job if reference cycles weren't a problem (but the OP said they are).


All times are GMT -5. The time now is 02:18 AM.