summaryrefslogtreecommitdiff
path: root/boost/accumulators/statistics/tail_variate_means.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/accumulators/statistics/tail_variate_means.hpp')
-rw-r--r--boost/accumulators/statistics/tail_variate_means.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/boost/accumulators/statistics/tail_variate_means.hpp b/boost/accumulators/statistics/tail_variate_means.hpp
index a97eab5648..efe9f7c37e 100644
--- a/boost/accumulators/statistics/tail_variate_means.hpp
+++ b/boost/accumulators/statistics/tail_variate_means.hpp
@@ -27,6 +27,7 @@
#include <boost/accumulators/statistics/tail_variate.hpp>
#include <boost/accumulators/statistics/tail_mean.hpp>
#include <boost/accumulators/statistics/parameters/quantile_probability.hpp>
+#include <boost/serialization/vector.hpp>
#ifdef _MSC_VER
# pragma warning(push)
@@ -145,6 +146,13 @@ namespace impl
return make_iterator_range(this->tail_means_);
}
+ // make this accumulator serializeable
+ template<class Archive>
+ void serialize(Archive & ar, const unsigned int file_version)
+ {
+ ar & tail_means_;
+ }
+
private:
mutable array_type tail_means_;