From: "Fernando Cacciola" <[EMAIL PROTECTED]> > "William E. Kempf" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > * Is there a reason for operator!() when we have the safe bool? > > > I left it because shared_ptr has it. > I figure that there must be some contexts where the safe_bool conversion > doesn't work.
Borland doesn't like boolean expressions that involve a safe bool. shared_ptr::operator! is an implementation detail; it is not needed on a conforming compiler. _______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost