[Boost-bugs] [Boost C++ Libraries] #10728: Error in example of boost::accumulators

Subject: [Boost-bugs] [Boost C++ Libraries] #10728: Error in example of boost::accumulators
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-31 16:24:55


#10728: Error in example of boost::accumulators
------------------------------+---------------------------
 Reporter: anonymous | Owner: matias
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: Documentation
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------
 The first example (Hello, World!) in

 http://www.boost.org/doc/libs/1_56_0/doc/html/accumulators/user_s_guide.html

 does not compile because of an error on line 22:
 {{{
 std::cout << "Moment: " << accumulators::moment<2>(acc) << std::endl;
 }}}
 should be:
 {{{
 std::cout << "Moment: " << moment<2>(acc) << std::endl;
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10728>
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:17 UTC