|
Boost-Commit : |
From: eric_at_[hidden]
Date: 2008-06-20 10:39:50
Author: eric_niebler
Date: 2008-06-20 10:39:49 EDT (Fri, 20 Jun 2008)
New Revision: 46558
URL: http://svn.boost.org/trac/boost/changeset/46558
Log:
result_type, so accumulator_set works with boost::result_of
Text files modified:
trunk/boost/accumulators/framework/accumulator_set.hpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/boost/accumulators/framework/accumulator_set.hpp
==============================================================================
--- trunk/boost/accumulators/framework/accumulator_set.hpp (original)
+++ trunk/boost/accumulators/framework/accumulator_set.hpp 2008-06-20 10:39:49 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