Boost logo

Boost :

From: Larry Evans (jcampbell3_at_[hidden])
Date: 2002-08-17 14:57:51

The ptr class will not properly destruct an object if object does
not have a virtual DTOR and the last ptr to the object is
a ptr to a superclass of the object. Shared_ptr does not suffer
the same shortcoming.

This is demonstrated by */files/ptr_evans/virtual_dtor_need.out.

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