On Tue, Jul 16, 2002 at 03:29:12PM +0100, Angus Leeming wrote:
> One more suggestion: naked pointers are evil. Naked pointers in an STL 
> container are doubly evil. Wrap that pointer in a boost::shared_ptr. Memory 
> is automatically delete-d as the list goes out of scope.

Why are pointers used anyway? [I did not look at the source, so maybe the
question is silly]

Andre'

-- 
Those who desire to give up Freedom in order to gain Security,
will not have, nor do they deserve, either one. (T. Jefferson)

Reply via email to