Re: [Boost-bugs] [Boost C++ Libraries] #9279: Lack of min/max under VC12/VS2013

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #9279: Lack of min/max under VC12/VS2013
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-10-22 05:29:24


#9279: Lack of min/max under VC12/VS2013
-------------------------------+-------------------------
  Reporter: gongminmin@… | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: config
   Version: Boost 1.55.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+-------------------------

Comment (by gongminmin@…):

 Yes. In my test, the min/max only affect the Boost.Serialization. So add

 {{{
 #if defined(_MSC_VER) && (_MSC_VER >= 1800)
 # include <algorithm> // for std::min and std::max
 #endif
 }}}

 to boost\archive\iterators\transform_width.hpp also fix this problem.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9279#comment:2>
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:14 UTC