Boost logo

Boost :

Subject: Re: [boost] Official warnings policy?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2009-11-04 14:34:25


Thomas Klimpel wrote:
> Zachary Turner wrote:
>> That aside, should we consider how to deal with #pragma warning(disable) in
>> MSVC (do other compilers have similar pragmas)? Should it be disallowed?
> No, it should not be disallowed.
> The "warning C4127: conditional expression is constant" for a code like "if(op_type < 2)" where "op_type" is a template parameter is just nonsense.

My personal favorite example of conditional expression is constant is


In Christ,
Steven Watanabe

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