Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85689 - trunk/boost/intrusive/detail
From: igaztanaga_at_[hidden]
Date: 2013-09-15 15:54:19


Author: igaztanaga
Date: 2013-09-15 15:54:19 EDT (Sun, 15 Sep 2013)
New Revision: 85689
URL: http://svn.boost.org/trac/boost/changeset/85689

Log:
Added BOOST_NO_INT64_T protection for sqrt2_pow_max 64 bit specialization

Text files modified:
   trunk/boost/intrusive/detail/utilities.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: trunk/boost/intrusive/detail/utilities.hpp
==============================================================================
--- trunk/boost/intrusive/detail/utilities.hpp Sun Sep 15 15:50:54 2013 (r85688)
+++ trunk/boost/intrusive/detail/utilities.hpp 2013-09-15 15:54:19 EDT (Sun, 15 Sep 2013) (r85689)
@@ -429,6 +429,8 @@
    static const std::size_t pow = 31;
 };
 
+#ifndef BOOST_NO_INT64_T
+
 template <class SizeType>
 struct sqrt2_pow_max<SizeType, typename enable_if< numbits_eq<SizeType, 64> >::type>
 {
@@ -436,6 +438,8 @@
    static const std::size_t pow = 63;
 };
 
+#endif //BOOST_NO_INT64_T
+
 // Returns floor(pow(sqrt(2), x * 2 + 1)).
 // Defined for X from 0 up to the number of bits in size_t minus 1.
 inline std::size_t sqrt2_pow_2xplus1 (std::size_t x)


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