
23 May
2007
23 May
'07
6:56 a.m.
Maurizio Vitale wrote:
Eric Niebler <eric@boost-consulting.com> 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