12 Nov
2002
12 Nov
'02
7:03 p.m.
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