Re: [Boost-bugs] [Boost C++ Libraries] #11528: MSVS 2015 + boost::range: STL and Boost iterators

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11528: MSVS 2015 + boost::range: STL and Boost iterators
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-20 11:14:51


#11528: MSVS 2015 + boost::range: STL and Boost iterators
---------------------------------------+------------------------
  Reporter: Dennis Schneider <dsr@…> | Owner: neilgroves
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: range
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
---------------------------------------+------------------------

Comment (by michel):

 A possible fix would be to replace `std::max_element` with
 `boost::first_max_element`
 (in '<boost/algorithm/minmax_element.hpp>').
 I'll make a PR on github soon.

 The problems are still remaining for other algorithms that require more
 than `InputIterator`
 (of the standard iterator categories), though.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11528#comment:1>
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