A little bug in the documentation for common_factor.hpp
Felix TOTIR <[email protected]>
| Newsgroups | gmane.comp.lib.boost.documentation |
|---|---|
| Message-ID | <CAJyQOzufqihTNaafdmt_aLB0CvTT_ZHydjr6aox7BujX2A91MQ@mail.gmail.com> |
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. Thank you. -- "La vie, c'est comme un arc-en-ciel : ça prend du soleil et de la pluie afin d'en savourer toutes les couleurs." _______________________________________________ Boost-docs mailing list [email protected] http://lists.boost.org/mailman/listinfo.cgi/boost-docs