Boost logo

Boost :

Subject: Re: [boost] [accumulator] no type named 'result_type' in 'boost::fusion::void_'
From: Eric Niebler (eric_at_[hidden])
Date: 2011-10-01 14:05:29


On 10/1/2011 9:25 AM, Vicente J. Botet Escriba wrote:
> Hi,
>
> I'm getting this error on trunk
>
> ../../../boost/accumulators/framework/extractor.hpp:36:74: error: no
> type named 'result_type' in 'boost::fusion::void_'
> typedef typename mpl::apply<AccumulatorSet,
> feature_type>::type::result_type type;
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
>
> I'm including
> #include <boost/accumulators/framework/accumulator_set.hpp>
> #include <boost/accumulators/statistics/count.hpp>

You mean, you are compiling a .cpp file with just those two lines and
nothing else? I can't reproduce this error.

> If I add the following include everything is OK.
>
> #include <boost/accumulators/accumulators.hpp>
>
> Is this a know issue?

Nope. I'll need a bit more information, though.

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk