Subject: Re: [Boost-docs] A little bug in the documentation for common_factor.hpp
From: Paul A. Bristow (pbristow_at_[hidden])
Date: 2012-12-03 16:02:12
From: boost-docs-bounces_at_[hidden] [mailto:boost-docs-bounces_at_[hidden]] On Behalf Of
Felix TOTIR
Sent: Monday, December 03, 2012 3:25 PM
To: boost-docs_at_[hidden]
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 ;-)
This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:41 UTC