From: Larry Evans (jcampbell3_at_[hidden])
Date: 2002-01-19 00:27:02
Larry Evans wrote:
> The zip file:
> contains 2 test drivers and their output (.run files) illustrating the problem. The problem is the delete in
> checked_delete used a pointer that's pointing inside of instead of to the start of the object.
I just uploaded a revised prox_mi.zip. The .run files have more detailed output clearly showing the problem
occurs because in the call to subjB::operator delete(void*p), p doesn't point to the beginning of the object
in *smart.run but it does in *prox.run.
The example test is very similar to that posted in http://groups.yahoo.com/group/boost/message/23184
except the multi inheritance allows clearer illustration of the problem (clearer because the p in the
*smart.run clearly doesn't point to start of object).
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk