Re: A little bug in the documentation for common_factor.hpp
"Paul A. Bristow" <[email protected]>
| Newsgroups | gmane.comp.lib.boost.documentation |
|---|---|
| Message-ID | <[email protected]> |
From: [email protected] [mailto:[email protected]] On Behalf Of Felix TOTIR Sent: Monday, December 03, 2012 3:25 PM To: [email protected] Subject: [Boost-docs] A little bug in the documentation for common_factor.hpp Dear all, The Example program on this page: http://www.boost.org/doc/libs/1_52_0/libs/math/doc/gcd/html/gcd_and_lcm/gcd_lcm/compile_time.html is missing an #include <iostream> line. In current form, its compilation fails with: $ g++ test_common_factor.cpp test_common_factor.cpp: In function int main(): test_common_factor.cpp:9:15: error: std::cout has not been declared test_common_factor.cpp:12:4: error: cout was not declared in this scope Please correct. OK - thanks. Done boost-trunk At revision: 81697 Should appear in next release. Paul PS Shows thedesirability of using code snippets, only a pipe-dream when this code was written ;-)