Re: [Boost-bugs] [Boost C++ Libraries] #3543: Example code using Boost accumulators fails to compile with GCC 4.4.1 (Fedora 11)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #3543: Example code using Boost accumulators fails to compile with GCC 4.4.1 (Fedora 11)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-09-24 12:28:42


#3543: Example code using Boost accumulators fails to compile with GCC 4.4.1
(Fedora 11)
--------------------------------------------------------+-------------------
  Reporter: Denis Arnaud <denis.arnaud_boost@…> | Owner: eric_niebler
      Type: Bugs | Status: closed
 Milestone: Boost 1.41.0 | Component: accumulator
   Version: Boost 1.39.0 | Severity: Problem
Resolution: fixed | Keywords: accumulator template tag moment
--------------------------------------------------------+-------------------

Comment (by Stefan van Kessel <van_kessel@…>):

 Replying to [comment:3 denis.arnaud_boost@…]:
> Replying to [comment:2 Stefan van Kessel <van_kessel@…>]:
> > - std::cout << "Moment: " << accumulators::moment<2>(acc) <<
 std::endl;
> > + std::cout << "Moment: " <<
 boost::accumulators::moment<2>(acc) << std::endl;
>
> Sorry, but in the
 [https://svn.boost.org/trac/boost/attachment/ticket/3543/boost-
 accumulators-namespace-fix.patch patch], (Boost) accumulators::moment()
 was already fully qualified.
 Yes, your original patch is correct. Thank you. I meant to refer to the
 fix that actually made it into the repository.
 http://svn.boost.org/svn/boost/trunk/libs/accumulators/doc/accumulators.qbk
 still uses "accumulators::moment<2>(acc)".

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/3543#comment:4>
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:04 UTC