|
Boost : |
From: Eric Niebler (eric_at_[hidden])
Date: 2007-05-23 02:56:17
Maurizio Vitale wrote:
> Eric Niebler <eric_at_[hidden]> writes:
>> You need proto::deep_copy():
>
> It doesn't quite work because it seems deep_copy doesn't (seem to) use
> generate for wrapping up expression, with the result that the type of
> the object returned by deep_copy is deeply different from the type
> sent in.
deep_copy() uses generate<> now. Let me know if you still have problems.
-- Eric Niebler Boost Consulting www.boost-consulting.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk