On 2013-06-11 15:09:40 +0200, Philipp Kraus said:
I try to create a complex accumulator. I would like to use an
accumulator for a box plot with the whisker data (
http://en.wikipedia.org/wiki/Box_plot ).
This short example
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
using namespace boost::accumulators;
typedef accumulator_set
accumulator_t;
int main()
{
boost::array probs = {0.25, 0.50, 0.75};
accumulator_t acc(extended_p_square_probabilities = probs);
}
compiles only, if I comment the //* line, but with the quantil tag the
compiler creates this errors:
/Developer/opt/Boost/1.53.0/include/boost/accumulators/framework/depends_on.hpp:
In instantiation of
'boost::accumulators::detail::insert_dependencies > > > >,
boost::accumulators::tag::extended_p_square_quantile, void>':
/Developer/opt/Boost/1.53.0/include/boost/mpl/aux_/has_type.hpp:20:
instantiated from 'const bool
boost::mpl::aux::has_type > > > >,
boost::accumulators::tag::extended_p_square_quantile, void>,
mpl_::bool_<true> >::value'
/Developer/opt/Boost/1.53.0/include/boost/mpl/aux_/has_type.hpp:20:
instantiated from
'boost::mpl::aux::has_type > > > >,
boost::accumulators::tag::extended_p_square_quantile, void>,
mpl_::bool_<true> >'
.....
Can anybody help me?
Thanks
Phil