Boost logo

Boost :

Subject: Re: [boost] [new Warnings policy] MS C4180 on the Maintenance Guidelines
From: Daniel Wallin (daniel_at_[hidden])
Date: 2009-11-18 06:00:53

Paul A. Bristow wrote:
> ||# pragma warning(disable: 4800) // int' : forcing value to bool 'true' or
> 'false'
> Hope this is better.
> I note that this will mean quite a lot of work for some people as "if (ptr) ..."
> is such a common (and IMO dreadful) idiom.

IIRC the warning isn't generated in that context.

Daniel Wallin
BoostPro Computing

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