[Boost-bugs] [Boost C++ Libraries] #8129: Conversion warning in hashed_index.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #8129: Conversion warning in hashed_index.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-02-20 22:43:15


#8129: Conversion warning in hashed_index.hpp
---------------------------------+------------------------------------------
 Reporter: mbradle@… | Owner: joaquin
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: multi_index
  Version: Boost 1.53.0 | Severity: Cosmetic
 Keywords: |
---------------------------------+------------------------------------------
 Hello,

 I get a warning that conversion to 'float' from 'size_type' may alter its
 value when compiling the code ex.13.7.cpp (based on an example from The
 Boost C++ Libraries by Boris Schaeling) with -Wconversion. The attached
 file test.txt shows the compilation. The attached file diff.txt shows a
 change that fixed the problem for me. Thanks, and best wishes.

 Brad Meyer

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8129>
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:12 UTC