|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-12-13 08:07:38
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk