mdelfede Messages: 1308 Registered: September 2007
Ultimate Contributor
So the only way to deep copy an One<> is to use:
One<AClass> A = new AClass(1, 2, 3);
One<AClass> B;
B = new AClass(*A, 1);
Assuming that AClass has a deep copy constructor, right ?
I'm missing the polymorfic deep copy...
Btw, also the clone() complains about missing DeepCopyNew.