[Boost-bugs] [Boost C++ Libraries] #6276: is_sorted() concept check fails in eval_if<>

Subject: [Boost-bugs] [Boost C++ Libraries] #6276: is_sorted() concept check fails in eval_if<>
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-12-16 02:17:44


#6276: is_sorted() concept check fails in eval_if<>
-------------------------------------+--------------------------------------
 Reporter: JonT | Owner: neilgroves
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: range
  Version: Boost Development Trunk | Severity: Regression
 Keywords: is_sorted eval_if |
-------------------------------------+--------------------------------------
 The following worked in 1.38, but fails to compile in 1.45, 1.47 and head.

 {{{#!C++
 #include <vector>
 #include <algorithm>
 #include <boost/detail/algorithm.hpp>


 void testfunc()
 {
         std::vector<double> myVec(100);

         if (!boost::is_sorted(myVec.begin(),myVec.end()) )
         {
                 /* empty */
         }
 }

 }}}


 The error log is attached.

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