[Boost-bugs] [Boost C++ Libraries] #11149: boost::multiprecision compilation fail with std::max

Subject: [Boost-bugs] [Boost C++ Libraries] #11149: boost::multiprecision compilation fail with std::max
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-28 13:03:08


#11149: boost::multiprecision compilation fail with std::max
------------------------------+----------------------------
 Reporter: minorlogic@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: multiprecision
  Version: Boost 1.57.0 | Severity: Showstopper
 Keywords: |
------------------------------+----------------------------
 pseudo code to reproduce:

 typedef
 boost::multiprecision::number<boost::multiprecision::cpp_dec_float<50> >
 cpp_dec_float_50;
 using std::max;
 cpp_dec_float_50 x, y=max(x, 2*x);

 Fails to compile

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