Boost logo

Boost :

From: deansturtevant_at_[hidden]
Date: 2001-05-28 10:28:54

Might it be a matter of taste? I would say that if the purpose of the
expression is to convert it to bool, then casting it to bool is the
best way of expressing the intent.
- Dean
--- In boost_at_y..., "David Abrahams" <abrahams_at_m...> wrote:
> I was wondering the same thing.
> ----- Original Message -----
> From: "Vesa Karvonen" <vesa.karvonen_at_h...>
> To: <boost_at_y...>
> Sent: Monday, May 28, 2001 10:18 AM
> Subject: Re: [boost] Re: BOOST_STATIC_ASSERT question
> > Is there a good reason to prefer a cast to "!!(expr)"?

Boost list run by bdawes at, gregod at, cpdaniel at, john at