Subject: [Boost-bugs] [Boost C++ Libraries] #1944: Interval library pow function doesn't work with mpq_class and similar
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-05-24 12:36:14
#1944: Interval library pow function doesn't work with mpq_class and similar
----------------------------------------------------+-----------------------
Reporter: Ben Galehouse <bgalehouse_at_[hidden]> | Owner: dgregor
Type: Bugs | Status: new
Milestone: Boost 1.36.0 | Component: numeric
Version: Boost 1.35.0 | Severity: Problem
Keywords: |
----------------------------------------------------+-----------------------
The boost interval library pow function does not compile when an
expression class system is used to avoid temporaries. e.g. It fails if you
use, say, the mpq_class datatype from the gmp library. The fix is adding a
single static_cast<T>.
--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1944>
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:49:57 UTC