Re: [Boost-bugs] [Boost C++ Libraries] #4904: Comparison between signed and unsigned integer expressions

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4904: Comparison between signed and unsigned integer expressions
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-11-29 14:34:40


#4904: Comparison between signed and unsigned integer expressions
-----------------------------------------+----------------------------------
  Reporter: sagimihaly+boost@… | Owner: agurtovoy
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: mpl
   Version: Boost 1.45.0 | Severity: Cosmetic
Resolution: | Keywords:
-----------------------------------------+----------------------------------

Comment (by anonymous):

 I think that making this change would merely replace one warning for
 another.
 In particular, it would say "result of expression is always true" or
 something like that; since for any T sizeof (T) is >= 0 (or, if T is
 incomplete, is a compile error).


 A better question is "What is this code trying to accomplish"?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4904#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:04 UTC