Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86210 - in branches/release: . boost boost/functional boost/functional/hash/detail libs libs/functional libs/functional/hash/doc libs/unordered libs/unordered/doc
From: dnljms_at_[hidden]
Date: 2013-10-08 17:26:30


Author: danieljames
Date: 2013-10-08 17:26:30 EDT (Tue, 08 Oct 2013)
New Revision: 86210
URL: http://svn.boost.org/trac/boost/changeset/86210

Log:
Merge release notes + float hash fix. Ref #8822.

Properties modified:
   branches/release/ (props changed)
   branches/release/boost/ (props changed)
   branches/release/boost/functional/ (props changed)
   branches/release/libs/ (props changed)
   branches/release/libs/functional/ (props changed)
   branches/release/libs/unordered/ (props changed)
Text files modified:
   branches/release/boost/functional/hash/detail/hash_float.hpp | 17 ++++++++---------
   branches/release/libs/functional/hash/doc/changes.qbk | 9 +++++++++
   branches/release/libs/unordered/doc/changes.qbk | 5 +++++
   3 files changed, 22 insertions(+), 9 deletions(-)

Modified: branches/release/boost/functional/hash/detail/hash_float.hpp
==============================================================================
--- branches/release/boost/functional/hash/detail/hash_float.hpp Tue Oct 8 17:01:18 2013 (r86209)
+++ branches/release/boost/functional/hash/detail/hash_float.hpp 2013-10-08 17:26:30 EDT (Tue, 08 Oct 2013) (r86210)
@@ -103,7 +103,8 @@
         template <typename Float>
         inline std::size_t float_hash_impl(Float v,
             BOOST_DEDUCED_TYPENAME boost::enable_if_c<
- enable_binary_hash<Float, 24, 128>::value, int>::type)
+ enable_binary_hash<Float, 24, 128>::value,
+ std::size_t>::type)
         {
             return hash_binary((char*) &v, 4);
         }
@@ -112,7 +113,8 @@
         template <typename Float>
         inline std::size_t float_hash_impl(Float v,
             BOOST_DEDUCED_TYPENAME boost::enable_if_c<
- enable_binary_hash<Float, 53, 1024>::value, int>::type)
+ enable_binary_hash<Float, 53, 1024>::value,
+ std::size_t>::type)
         {
             return hash_binary((char*) &v, 8);
         }
@@ -120,7 +122,8 @@
         template <typename Float>
         inline std::size_t float_hash_impl(Float v,
             BOOST_DEDUCED_TYPENAME boost::enable_if_c<
- enable_binary_hash<Float, 64, 16384>::value, int>::type)
+ enable_binary_hash<Float, 64, 16384>::value,
+ std::size_t>::type)
         {
             return hash_binary((char*) &v, 10);
         }
@@ -128,12 +131,8 @@
         template <typename Float>
         inline std::size_t float_hash_impl(Float v,
             BOOST_DEDUCED_TYPENAME boost::enable_if_c<
- std::numeric_limits<Float>::is_iec559 &&
- std::numeric_limits<Float>::digits == 113 &&
- std::numeric_limits<Float>::radix == 2 &&
- std::numeric_limits<Float>::max_exponent == 16384,
- int>::type
- )
+ enable_binary_hash<Float, 113, 16384>::value,
+ std::size_t>::type)
         {
             return hash_binary((char*) &v, 16);
         }

Modified: branches/release/libs/functional/hash/doc/changes.qbk
==============================================================================
--- branches/release/libs/functional/hash/doc/changes.qbk Tue Oct 8 17:01:18 2013 (r86209)
+++ branches/release/libs/functional/hash/doc/changes.qbk 2013-10-08 17:26:30 EDT (Tue, 08 Oct 2013) (r86210)
@@ -3,6 +3,8 @@
  / Distributed under the Boost Software License, Version 1.0. (See accompanying
  / file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ]
 
+[template ticket[number]'''<ulink url="https://svn.boost.org/trac/boost/ticket/'''[number]'''">'''#[number]'''</ulink>''']
+
 [section:changes Change Log]
 
 [h2 Boost 1.33.0]
@@ -160,4 +162,11 @@
 * [@https://svn.boost.org/trac/boost/ticket/7957 Ticket 7957]:
   Fixed a typo.
 
+[h2 Boost 1.55.0]
+
+* Simplify a SFINAE check so that it will hopefully work on Sun 5.9
+ ([ticket 8822]).
+* Suppress Visual C++ infinite loop warning ([ticket 8568]).
+
+
 [endsect]

Modified: branches/release/libs/unordered/doc/changes.qbk
==============================================================================
--- branches/release/libs/unordered/doc/changes.qbk Tue Oct 8 17:01:18 2013 (r86209)
+++ branches/release/libs/unordered/doc/changes.qbk 2013-10-08 17:26:30 EDT (Tue, 08 Oct 2013) (r86210)
@@ -235,4 +235,9 @@
 * If the hash function and equality predicate are known to both have nothrow
   move assignment or construction then use them.
 
+[h2 Boost 1.55.0]
+
+* Avoid some warnings ([ticket 8851], [ticket 8874]).
+* Avoid exposing some detail functions via. ADL on the iterators.
+
 [endsect]


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk