Boost logo

Boost-Commit :

From: eric_at_[hidden]
Date: 2008-02-19 02:33:31


Author: eric_niebler
Date: 2008-02-19 02:33:30 EST (Tue, 19 Feb 2008)
New Revision: 43314
URL: http://svn.boost.org/trac/boost/changeset/43314

Log:
darn, back out bad droppable changes
Text files modified:
   trunk/boost/accumulators/statistics/mean.hpp | 36 ++++++++++++++++++------------------
   trunk/boost/accumulators/statistics/variance.hpp | 36 ++++++++++++++++++------------------
   trunk/boost/accumulators/statistics/weighted_variance.hpp | 36 ++++++++++++++++++------------------
   3 files changed, 54 insertions(+), 54 deletions(-)

Modified: trunk/boost/accumulators/statistics/mean.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/mean.hpp (original)
+++ trunk/boost/accumulators/statistics/mean.hpp 2008-02-19 02:33:30 EST (Tue, 19 Feb 2008)
@@ -271,24 +271,24 @@
 {
 };
 
-//////////////////////////////////////////////////////////////////////////
-// droppable_accumulator<mean_impl>
-// need to specialize droppable lazy mean to cache the result at the
-// point the accumulator is dropped.
-/// INTERNAL ONLY
-///
-template<typename Sample, typename SumFeature>
-struct droppable_accumulator<impl::mean_impl<Sample, SumFeature> >
- : droppable_accumulator_base<
- with_cached_result<impl::mean_impl<Sample, SumFeature> >
- >
-{
- template<typename Args>
- droppable_accumulator(Args const &args)
- : droppable_accumulator::base(args)
- {
- }
-};
+////////////////////////////////////////////////////////////////////////////
+//// droppable_accumulator<mean_impl>
+//// need to specialize droppable lazy mean to cache the result at the
+//// point the accumulator is dropped.
+///// INTERNAL ONLY
+/////
+//template<typename Sample, typename SumFeature>
+//struct droppable_accumulator<impl::mean_impl<Sample, SumFeature> >
+// : droppable_accumulator_base<
+// with_cached_result<impl::mean_impl<Sample, SumFeature> >
+// >
+//{
+// template<typename Args>
+// droppable_accumulator(Args const &args)
+// : droppable_accumulator::base(args)
+// {
+// }
+//};
 
 }} // namespace boost::accumulators
 

Modified: trunk/boost/accumulators/statistics/variance.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/variance.hpp (original)
+++ trunk/boost/accumulators/statistics/variance.hpp 2008-02-19 02:33:30 EST (Tue, 19 Feb 2008)
@@ -208,24 +208,24 @@
 {
 };
 
-//////////////////////////////////////////////////////////////////////////
-// droppable_accumulator<variance_impl>
-// need to specialize droppable lazy variance to cache the result at the
-// point the accumulator is dropped.
-/// INTERNAL ONLY
-///
-template<typename Sample, typename MeanFeature>
-struct droppable_accumulator<impl::variance_impl<Sample, MeanFeature> >
- : droppable_accumulator_base<
- with_cached_result<impl::variance_impl<Sample, MeanFeature> >
- >
-{
- template<typename Args>
- droppable_accumulator(Args const &args)
- : droppable_accumulator::base(args)
- {
- }
-};
+////////////////////////////////////////////////////////////////////////////
+//// droppable_accumulator<variance_impl>
+//// need to specialize droppable lazy variance to cache the result at the
+//// point the accumulator is dropped.
+///// INTERNAL ONLY
+/////
+//template<typename Sample, typename MeanFeature>
+//struct droppable_accumulator<impl::variance_impl<Sample, MeanFeature> >
+// : droppable_accumulator_base<
+// with_cached_result<impl::variance_impl<Sample, MeanFeature> >
+// >
+//{
+// template<typename Args>
+// droppable_accumulator(Args const &args)
+// : droppable_accumulator::base(args)
+// {
+// }
+//};
 
 }} // namespace boost::accumulators
 

Modified: trunk/boost/accumulators/statistics/weighted_variance.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/weighted_variance.hpp (original)
+++ trunk/boost/accumulators/statistics/weighted_variance.hpp 2008-02-19 02:33:30 EST (Tue, 19 Feb 2008)
@@ -158,24 +158,24 @@
     typedef tag::immediate_weighted_variance type;
 };
 
-//////////////////////////////////////////////////////////////////////////
-// droppable_accumulator<weighted_variance_impl>
-// need to specialize droppable lazy weighted_variance to cache the result at the
-// point the accumulator is dropped.
-/// INTERNAL ONLY
-///
-template<typename Sample, typename Weight, typename MeanFeature>
-struct droppable_accumulator<impl::weighted_variance_impl<Sample, Weight, MeanFeature> >
- : droppable_accumulator_base<
- with_cached_result<impl::weighted_variance_impl<Sample, Weight, MeanFeature> >
- >
-{
- template<typename Args>
- droppable_accumulator(Args const &args)
- : droppable_accumulator::base(args)
- {
- }
-};
+////////////////////////////////////////////////////////////////////////////
+//// droppable_accumulator<weighted_variance_impl>
+//// need to specialize droppable lazy weighted_variance to cache the result at the
+//// point the accumulator is dropped.
+///// INTERNAL ONLY
+/////
+//template<typename Sample, typename Weight, typename MeanFeature>
+//struct droppable_accumulator<impl::weighted_variance_impl<Sample, Weight, MeanFeature> >
+// : droppable_accumulator_base<
+// with_cached_result<impl::weighted_variance_impl<Sample, Weight, MeanFeature> >
+// >
+//{
+// template<typename Args>
+// droppable_accumulator(Args const &args)
+// : droppable_accumulator::base(args)
+// {
+// }
+//};
 
 }} // namespace boost::accumulators
 


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