Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11149: boost::multiprecision compilation fail with std::max
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-03-30 08:50:04
#11149: boost::multiprecision compilation fail with std::max
-------------------------------+----------------------------
Reporter: minorlogic@⦠| Owner: johnmaddock
Type: Bugs | Status: closed
Milestone: To Be Determined | Component: multiprecision
Version: Boost 1.57.0 | Severity: Showstopper
Resolution: wontfix | Keywords:
-------------------------------+----------------------------
Comment (by johnmaddock):
I'm quite happy to add min/max to boost::multiprecision namespace, I
didn't because my gut feeling was that folks wouldn't be relying on ADL to
find those (why would they? The std:: ones are perfectly satisfactory).
And as you say, for compilers that that define min/max as macros, the
needed ()'s break ADL lookup.
I'm curious, what's the other mechanism you used in this case?
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/11149#comment:3> 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