Opened 9 years ago

#9270 new Bugs

Hello world example in Boost accumulator reference manual does not compile

Reported by: jeadorf@… Owned by: Eric Niebler
Milestone: To Be Determined Component: accumulator
Version: Boost 1.54.0 Severity: Problem
Keywords: Cc:

Description

In the code example http://www.boost.org/doc/libs/1_54_0/doc/html/accumulators/user_s_guide.html#accumulators.user_s_guide.hello__world_

    std::cout << "Moment: " << accumulators::moment<2>(acc) << std::endl;

should be

    std::cout << "Moment: " << moment<2>(acc) << std::endl;

Change History (0)

Note: See TracTickets for help on using tickets.