[shared_ptr] Patch adding weak_use_count and weak_from_this

12 Sep
2012
12 Sep
'12
10 p.m.
These are useful for debugging, similarly to shared_ptr::use_count. Specifically, you can check for dangling pointers by replacing ordinary pointers with weak pointers, and checking the count inside a destructor. The patch is for boost 1.49 and is attached.
4654
Age (days ago)
4654
Last active (days ago)
0 comments
1 participants
participants (1)
-
Brent Lewis