Boost logo

Boost :

From: Darin Adler (darin_at_[hidden])
Date: 2001-10-19 21:04:33


on 10/19/01 6:20 PM, Joe Gottman at joegottman_at_[hidden] wrote:

> I recently had to write a function that took an object of type T* and
> returned a boost::shared_ptr<T> *.

Why this mix of shared_ptr and new?

I can't figure out what good reason you might have to make a
boost::shared_ptr<T>* rather than a boost::shared_ptr<T>.

    -- Darin


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