Opened 8 years ago
Last modified 8 years ago
#10728 new Bugs
Error in example of boost::accumulators
Reported by: | anonymous | Owned by: | Eric Niebler |
---|---|---|---|
Milestone: | To Be Determined | Component: | accumulator |
Version: | Boost 1.56.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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;
Change History (2)
comment:1 by , 8 years ago
Owner: | changed from | to
---|
comment:2 by , 8 years ago
Component: | Documentation → accumulator |
---|
Note:
See TracTickets
for help on using tickets.