Erasing an element in shared_ptr
12 Nov
2002
12 Nov
'02
5:59 p.m.
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?
12 Nov
12 Nov
7:03 p.m.
New subject: [Boost-Users] Erasing an element in shared_ptr
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
8052
Age (days ago)
8052
Last active (days ago)
1 comments
2 participants
participants (2)
-
cadiolis
-
Darin Adler