
7 Oct
2007
7 Oct
'07
2:58 p.m.
Joseph Gauterin wrote:
I don't think that copy_ptr class handles deletion of a pointer to an incomplete type properly.
Actually, it's not the only problem, copying or operator= doesn't work too with incomplete types. I wasn't aware of this issues. One way to fix that would be to declare functions for deletion and cloning and then define them along with the internal structure.