Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2000-11-08 09:38:36


----- Original Message -----
From: "Kevlin Henney" <kevlin_at_[hidden]>

> In message <046e01c04989$a29e89a0$0500a8c0_at_[hidden]>, David
> Abrahams <abrahams_at_[hidden]> writes
> >----- Original Message -----
> >From: "Peter Dimov" <pdimov_at_[hidden]>
> >
> >> #pragma warning(disable: 4800) // conversion from int/void* to bool
> >
> >I'm not sure you should disable this one. IME it reports bugs in my code,
> >even if the message isn't too useful.
>
> Which, strictly speaking (ie not MSVC), would invalidate the following
> usage:
>
> if(T * p = f())
> ...

I don't know what you're referring to, but I was only referring to an
MSVC-specific behavior.

-Dave


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