[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-docs
Subject:    Re: [Boost-docs] A little bug in the documentation for common_factor.hpp
From:       "Paul A. Bristow" <pbristow () hetp ! u-net ! com>
Date:       2012-12-03 16:02:12
Message-ID: 005d01cdd16f$8ec7b480$ac571d80$ () hetp ! u-net ! com
[Download RAW message or body]

From: boost-docs-bounces@lists.boost.org [mailto:boost-docs-bounces@lists.b=
oost.org] On Behalf Of
Felix TOTIR
Sent: Monday, December 03, 2012 3:25 PM
To: boost-docs@lists.boost.org
Subject: [Boost-docs] A little bug in the documentation for common_factor.h=
pp

Dear all,

=A0The Example program on this page:

=A0http://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 =91int main()=92:
test_common_factor.cpp:9:15: error: =91std::cout=92 has not been declared
test_common_factor.cpp:12:4: error: =91cout=92 was not declared in this sco=
pe

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 thi=
s code was written ;-)





_______________________________________________
Boost-docs mailing list
Boost-docs@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-docs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic