Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r86294 - trunk/boost/multiprecision/cpp_int
From: john_at_[hidden]
Date: 2013-10-13 14:13:47


Author: johnmaddock
Date: 2013-10-13 14:13:47 EDT (Sun, 13 Oct 2013)
New Revision: 86294
URL: http://svn.boost.org/trac/boost/changeset/86294

Log:
Fixes for cpp_bin_float

Text files modified:
   trunk/boost/multiprecision/cpp_int/misc.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/multiprecision/cpp_int/misc.hpp
==============================================================================
--- trunk/boost/multiprecision/cpp_int/misc.hpp Sun Oct 13 14:13:00 2013 (r86293)
+++ trunk/boost/multiprecision/cpp_int/misc.hpp 2013-10-13 14:13:47 EDT (Sun, 13 Oct 2013) (r86294)
@@ -254,13 +254,13 @@
 }
 
 template <unsigned MinBits1, unsigned MaxBits1, cpp_integer_type SignType1, cpp_int_check_type Checked1, class Allocator1, class U>
-inline typename enable_if_c<!is_trivial_cpp_int<cpp_int_backend<MinBits1, MaxBits1, SignType1, Checked1, Allocator1> >::value>::type
- eval_qr(
+inline typename enable_if_c<is_integral<U>::value>::type eval_qr(
       const cpp_int_backend<MinBits1, MaxBits1, SignType1, Checked1, Allocator1>& x,
       U y,
       cpp_int_backend<MinBits1, MaxBits1, SignType1, Checked1, Allocator1>& q,
       cpp_int_backend<MinBits1, MaxBits1, SignType1, Checked1, Allocator1>& r) BOOST_NOEXCEPT_IF((is_non_throwing_cpp_int<cpp_int_backend<MinBits1, MaxBits1, SignType1, Checked1, Allocator1> >::value))
 {
+ using default_ops::eval_qr;
    cpp_int_backend<MinBits1, MaxBits1, SignType1, Checked1, Allocator1> t(y);
    eval_qr(x, t, q, r);
 }


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