Boost logo

Boost :

From: Jeff King (peff-boost_at_[hidden])
Date: 2001-11-16 08:29:03


On Fri, 16 Nov 2001, Peter Dimov wrote:

> http://groups.yahoo.com/group/boost/files/impl_ptr/variant.hpp
> http://groups.yahoo.com/group/boost/files/impl_ptr/variant_test.cpp
>
> I think that it comes pretty close to what you were describing.

Yes, this is exactly it. It's also much more elegant, in that it
splits the concept of a deep-copy smart pointer from that of a
non-slicing type, so that you can use one independently of the other.

Consider the poly_ptr proposal retracted. :)

-Peff


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