|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r77993 - trunk/boost/range
From: neil_at_[hidden]
Date: 2012-04-15 08:24:53
Author: neilgroves
Date: 2012-04-15 08:24:53 EDT (Sun, 15 Apr 2012)
New Revision: 77993
URL: http://svn.boost.org/trac/boost/changeset/77993
Log:
[boost][range] - Ticket 5993 - Accumulate Concept Check constness.
Text files modified:
trunk/boost/range/numeric.hpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/boost/range/numeric.hpp
==============================================================================
--- trunk/boost/range/numeric.hpp (original)
+++ trunk/boost/range/numeric.hpp 2012-04-15 08:24:53 EDT (Sun, 15 Apr 2012)
@@ -40,7 +40,7 @@
template< class SinglePassRange, class Value >
inline Value accumulate( const SinglePassRange& rng, Value init )
{
- BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<SinglePassRange> ));
+ BOOST_RANGE_CONCEPT_ASSERT(( SinglePassRangeConcept<const SinglePassRange> ));
return std::accumulate( boost::begin(rng), boost::end(rng), init );
}
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk