15 Apr
2010
15 Apr
'10
12:28 p.m.
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;