Boost logo

Boost Users :

Subject: Re: [Boost-users] [Accumulators] Compiler error when compiling examples: extractor.hpp:36:74: error: no type named 'result_type' in 'boost::fusion::void_'
From: Michel Morin (mimomorin_at_[hidden])
Date: 2015-09-11 04:06:18


Bernhard Wagner wrote:
> When compiling:
>
> #include <boost/accumulators/framework/accumulator_set.hpp>
> #include <boost/accumulators/statistics/covariance.hpp>
> #include <boost/accumulators/statistics/variates/covariate.hpp>
[...]

You need to add

  #include <boost/accumulators/statistics/stats.hpp>
  // or #include <boost/accumulators/statistics.hpp>

Regards,
Michel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net