Ticket #5993: numeric.hpp.patch

File numeric.hpp.patch, 560 bytes (added by julien.nitard@…, 11 years ago)

Path for the proper file.

  • numeric.hpp

     
    4040    template< class SinglePassRange, class Value >
    4141    inline Value accumulate( const SinglePassRange& rng, Value init )
    4242    {
    43         BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<SinglePassRange> ));
     43        BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<const SinglePassRange> ));
    4444        return std::accumulate( boost::begin(rng), boost::end(rng), init );
    4545    }
    4646