Ticket #5993: numeric.hpp.patch
File numeric.hpp.patch, 560 bytes (added by , 11 years ago) |
---|
-
numeric.hpp
40 40 template< class SinglePassRange, class Value > 41 41 inline Value accumulate( const SinglePassRange& rng, Value init ) 42 42 { 43 BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept< SinglePassRange> ));43 BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<const SinglePassRange> )); 44 44 return std::accumulate( boost::begin(rng), boost::end(rng), init ); 45 45 } 46 46