Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2008-06-20 12:01:50


Author: eric_niebler
Date: 2008-06-20 12:01:50 EDT (Fri, 20 Jun 2008)
New Revision: 46563
URL: http://svn.boost.org/trac/boost/changeset/46563

Log:
Merged revisions 46558 via svnmerge from
https://svn.boost.org/svn/boost/trunk

........
  r46558 | eric_niebler | 2008-06-20 07:39:49 -0700 (Fri, 20 Jun 2008) | 1 line
  
  result_type, so accumulator_set works with boost::result_of
........

Properties modified:
   branches/release/ (props changed)
Text files modified:
   branches/release/boost/accumulators/framework/accumulator_set.hpp | 4 ++++
   1 files changed, 4 insertions(+), 0 deletions(-)

Modified: branches/release/boost/accumulators/framework/accumulator_set.hpp
==============================================================================
--- branches/release/boost/accumulators/framework/accumulator_set.hpp (original)
+++ branches/release/boost/accumulators/framework/accumulator_set.hpp 2008-06-20 12:01:50 EDT (Fri, 20 Jun 2008)
@@ -227,6 +227,10 @@
         fusion::filter_view<accumulators_type, FilterPred> filtered_accs(this->accumulators);
         fusion::for_each(filtered_accs, func);
     }
+
+ ///////////////////////////////////////////////////////////////////////////////
+ /// The return type of the operator() overloads is void.
+ typedef void result_type;
 
     ///////////////////////////////////////////////////////////////////////////////
     /// Accumulation


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