Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-20 08:42:36


It's at:

http://groups.yahoo.com/group/boost/files/smart_ptr_xp.zip

I've modified smart_ptr_test to use the experimental version, and the tests
pass on g++ 2.95.3.

At first look the code might seem a bit complicated, but note how the smart
pointer is used: instead of saying shared_ptr<T>, you simply say
smart_ptr<T, shared_ptr_config>. shared_ptr_config is a "prepackaged" policy
set that mimics shared_ptr.

--
Peter Dimov
Multi Media Ltd.

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