Boost logo

Boost :

Subject: Re: [boost] Interest in boost.deepcopy
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-10-24 22:13:16


AMDG

On 10/24/2011 05:16 PM, Allan Johns wrote:
> Just gauging initial interest in a boost.deepcopy library, analogous to
> deepcopy in python. Each type would register deepcopy behaviour with the
> library (there are similarities to boost.serialize).
> Boost.deepcopy would supply out-of-the-box registration for pod types,
> pointer types, arrays, stl containers and common boost containers. Example:
>

I'm not sure why I would want to use something
like this. Normally, in C++, the copy
constructor is expected to do a deep copy, when
it exists.

In Christ,
Steven Watanabe


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