Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2001-10-03 16:42:53


At 05:24 PM 10/3/2001, Gennadiy E. Rozental wrote:

>P.S. Frankly speaking, what I need is relyable "smart_pointer" that I
>can store in collections. boost::smart_pointer would be overkill,
>boost:;scoped_prt will not compile, std::auto_ptr will not work
>properly. Does anybody know simple solution right away? I dot think
>it my issue - many should be facing this.

I assume you meant "boost::shared_ptr would be overkill". But that isn't
correct - shared_ptr<> isn't overkill. Its semantics are needed to meet
the CopyConstructible and Assignable requirements of objects stored in
containers.

--Beman


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk