[Accmulators][ConceptCheck]: Many warnings for constructing accumulator with density
Hi, the following line results in several kB of warnings: accumulator_set<double, stats<tag::density > > acc(tag::density::cache_size=10, tag::density::num_bins=5); include/boost/concept_check.hpp:335: warning: non-static reference 'const double& boost::UnaryFunction<boost::numeric::functional::as_min<const double, void>, double, const double&>::arg' in class without a constructor gcc-4.2.4, boost-1.41 Am I doing something wrong? Or is there a way to avoid these warnings (other than to turn off warnings)? Regards, Roland
Roland Bock wrote:
Hi,
the following line results in several kB of warnings:
accumulator_set<double, stats<tag::density > > acc(tag::density::cache_size=10, tag::density::num_bins=5);
include/boost/concept_check.hpp:335: warning: non-static reference 'const double& boost::UnaryFunction<boost::numeric::functional::as_min<const double, void>, double, const double&>::arg' in class without a constructor
gcc-4.2.4, boost-1.41
Am I doing something wrong? Or is there a way to avoid these warnings (other than to turn off warnings)?
Regards,
Roland
PS: It does not seem to be related to tag::density. I get very similar warnings with this accumulator_set<int, stats<tag::min> > acc;
participants (1)
-
Roland Bock