[Boost-bugs] [Boost C++ Libraries] #3201: Error compiling example

Subject: [Boost-bugs] [Boost C++ Libraries] #3201: Error compiling example
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-06-21 17:23:48

#3201: Error compiling example
 Reporter: David Doria <daviddoria@…> | Owner: eric_niebler
     Type: Bugs | Status: new
Milestone: Boost 1.40.0 | Component: accumulator
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
 When building the examples with cmake, I get the following error:

 [ 58%] Building CXX object
> libs/accumulators/example/CMakeFiles/accumulators-
> /home/doriad/src/boost-trunk/boost/accumulators/statistics_fwd.hpp: In
> function ‘void example1()’:
> /home/doriad/src/boost-trunk/boost/accumulators/statistics_fwd.hpp:87:
> error: ‘template<int N> struct boost::accumulators::tag::moment’ is not
> function,
> /home/doriad/src/boost-
> error: conflict with ‘template<int T2, class Arg1, class A0, class A1,
> class A2, class A3, class A4, class A5, class A6, class A7, class A8,
> A9, class A10, class A11, class A12, class A13, class A14> typename
> boost::accumulators::detail::extractor_result<Arg1,
> boost::accumulators::tag::moment<T2> >::type
> boost::accumulators::extract::moment(const Arg1&, const A0&, const A1&,
> const A2&, const A3&, const A4&, const A5&, const A6&, const A7&, const
> const A9&, const A10&, const A11&, const A12&, const A13&, const A14&)’
> /home/doriad/src/boost-trunk/libs/accumulators/example/main.cpp:63:
> in call to ‘moment’

Ticket URL: <https://svn.boost.org/trac/boost/ticket/3201>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:00 UTC