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).
|