Boost logo

Boost :

From: cliffg_at_[hidden]
Date: 2004-12-22 14:11:00


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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk