[Boost-docs] A little bug in the documentation for common_factor.hpp

Subject: [Boost-docs] A little bug in the documentation for common_factor.hpp
From: Felix TOTIR (axeoth_at_[hidden])
Date: 2012-12-03 15:25:10


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."



This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC