|
Boost : |
From: Caleb Epstein (caleb.epstein_at_[hidden])
Date: 2006-01-02 16:39:10
On 1/1/06, Preston A. Elder <prez_at_[hidden]> wrote:
>
> What does everyone think of a new smart pointer called deep_ptr.
>
> This pointer would hold a unique pointer (only one copy at a time), but
> provide convenient syntax to have a deep copy of the underlying data on an
> operator= call.
I think the Policy Pointer in the review queue offers this functionality.
The most recent version I'm aware of is in the boost-sandbox CVS:
http://cvs.sourceforge.net/viewcvs.py/boost-sandbox/boost-sandbox/boost/policy_ptr/
-- Caleb Epstein caleb dot epstein at gmail dot com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk