Boost logo

Boost :

From: Kevlin Henney (kevlin_at_[hidden])
Date: 2000-11-08 08:57:08


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())
                ...

Kevlin
____________________________________________________________

  Kevlin Henney phone: +44 117 942 2990
  Curbralan Limited mobile: +44 7801 073 508
  mailto:kevlin_at_[hidden] fax: +44 870 052 2289
  http://www.curbralan.com
____________________________________________________________


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