Add conversion op doc to scoped_ptr

22 Dec
2004
22 Dec
'04
7:11 p.m.
This may already be known / in the queue / in CVS, but in case not ... The scoped_ptr synopsis and members does not document the unspecified-bool-type conversion operator that scoped_ptr provides (I didn't check scoped_array to see if the same issue is present or not.) I found this when a couple members of my team converted code from shared_ptr to scoped_ptr, with the original code relying on the conversion operator, and I was surprised when everything compiled cleanly (without adding the appropriate get() calls). Cliff
7491
Age (days ago)
7491
Last active (days ago)
0 comments
1 participants
participants (1)
-
cliffg@codewrangler.net