Boost logo

Boost Users :

Subject: [Boost-users] [Accmulators][ConceptCheck]: Many warnings for constructing accumulator with density
From: Roland Bock (rbock_at_[hidden])
Date: 2010-04-15 08:20:18


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


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