Changes between Initial Version and Version 1 of Ticket #8181


Ignore:
Timestamp:
Feb 26, 2013, 2:40:04 PM (10 years ago)
Author:
Marshall Clow
Comment:

(Description edited to make the code more obvious)

I tried compiling your code with gcc 4.2.1 and clang, and both compiled it correctly.

I suspect that you need to post more code.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8181 – Description

    initial v1  
    33Firstly, I instantiate an accumulator_set object using the correct tag, as following :
    44
     5{{{
    56#include <boost/accumulators/accumulators.hpp>
    67#include <boost/accumulators/statistics.hpp>
    78
    8 typedef boost::accumulators::accumulator_set<double, boost::accumulators::stats< boost::accumulators::tag::mean > > accumulator_type;
     9typedef boost::accumulators::accumulator_set<double,
     10               boost::accumulators::stats< boost::accumulators::tag::mean >
     11         > accumulator_type;
    912
    1013accumulator_type acc;
     14}}}
    1115
    1216I try to compile this code with clang and with gcc(4.6), and both of them give the same kind of error :