Boost C++ Libraries: Ticket #10728: Error in example of boost::accumulators https://svn.boost.org/trac10/ticket/10728 <p> The first example (Hello, World!) in </p> <p> <a href="http://www.boost.org/doc/libs/1_56_0/doc/html/accumulators/user_s_guide.html">http://www.boost.org/doc/libs/1_56_0/doc/html/accumulators/user_s_guide.html</a> </p> <p> does not compile because of an error on line 22: </p> <pre class="wiki">std::cout &lt;&lt; "Moment: " &lt;&lt; accumulators::moment&lt;2&gt;(acc) &lt;&lt; std::endl; </pre><p> should be: </p> <pre class="wiki">std::cout &lt;&lt; "Moment: " &lt;&lt; moment&lt;2&gt;(acc) &lt;&lt; std::endl; </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/10728 Trac 1.4.3 Matias Capeletto Sun, 01 Feb 2015 22:09:50 GMT owner changed https://svn.boost.org/trac10/ticket/10728#comment:1 https://svn.boost.org/trac10/ticket/10728#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">Eric Niebler</span> </li> </ul> Ticket viboes Fri, 13 Feb 2015 18:36:39 GMT component changed https://svn.boost.org/trac10/ticket/10728#comment:2 https://svn.boost.org/trac10/ticket/10728#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">accumulator</span> </li> </ul> Ticket