id summary reporter owner description type status milestone component version severity resolution keywords cc 5993 range::accumulate is missing a const in a concept check Julien Nitard Neil Groves "The first overload of boost::accumulate, (const SinglePassRange&, Value) is not checking for the proper concept. It checks for the non-const version, which causes problem when passing a range that is not mutable. The following line must changed from: BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept )); To: BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept )); Like it is in the 2nd overload. " Bugs closed Boost 1.50.0 range Boost 1.47.0 Problem fixed accumulate range const