Boost logo

Boost :

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 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 * but it does in *

The example test is very similar to that posted in
except the multi inheritance allows clearer illustration of the problem (clearer because the p in the
* clearly doesn't point to start of object).

Boost list run by bdawes at, gregod at, cpdaniel at, john at