From: Darin Adler (darin_at_[hidden])
Date: 2002-11-12 14:03:21


On Tuesday, November 12, 2002, at 09:59 AM, cadiolis wrote:

> I know that the destructor of shared_ptr will call delete for its
> contents, but what about erasing a member using the standard erase()
> function in vector?

Erasing a member from a vector calls its destructor. This is not really
an issue specific to shared_ptr. No worries.

     -- Darin