|
Boost : |
From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2002-12-13 14:06:20
"Peter Dimov" <pdimov_at_[hidden]> wrote in message
news:008901c2a2a8$9d1af430$1d00a8c0_at_pdimov2...
> From: "Fernando Cacciola" <fernando_cacciola_at_[hidden]>
> > "William E. Kempf" <wekempf_at_[hidden]> wrote in message
> > news:4791.167.16.75.11.1039729217.squirrel_at_frodo.kempf-ville.com...
> > > * 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.
>
I see.
Thanks.
-- Fernando Cacciola
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk