Quote:
Originally Posted by graemef
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).