Boost logo

Boost-Commit :

From: pbristow_at_[hidden]
Date: 2007-08-04 08:03:29


Author: pbristow
Date: 2007-08-04 08:03:29 EDT (Sat, 04 Aug 2007)
New Revision: 38442
URL: http://svn.boost.org/trac/boost/changeset/38442

Log:
fixed link fault in policy_eg_4 in docs
Text files modified:
   sandbox/math_toolkit/libs/math/example/policy_eg_4.cpp | 19 ++++++++++---------
   1 files changed, 10 insertions(+), 9 deletions(-)

Modified: sandbox/math_toolkit/libs/math/example/policy_eg_4.cpp
==============================================================================
--- sandbox/math_toolkit/libs/math/example/policy_eg_4.cpp (original)
+++ sandbox/math_toolkit/libs/math/example/policy_eg_4.cpp 2007-08-04 08:03:29 EDT (Sat, 04 Aug 2007)
@@ -36,7 +36,7 @@
    domain_error<errno_on_error>,
    pole_error<errno_on_error>,
    overflow_error<errno_on_error>,
- evaluation_error<errno_on_error>
+ evaluation_error<errno_on_error>
> c_policy;
 
 /*`
@@ -57,10 +57,10 @@
 
 ``
 template <class RealType>
-inline typename boost::math::tools::promote_args<RT>::type
+inline typename boost::math::tools::promote_args<RT>::type
    tgamma(RT z)
-{
- return boost::math::tgamma(z, c_policy());
+{
+ return boost::math::tgamma(z, c_policy());
 }
 ``
 
@@ -73,10 +73,10 @@
 int main()
 {
    errno = 0;
- std::cout << "Result of tgamma(30000) is: "
+ std::cout << "Result of tgamma(30000) is: "
       << C::tgamma(30000) << std::endl;
    std::cout << "errno = " << errno << std::endl;
- std::cout << "Result of tgamma(-10) is: "
+ std::cout << "Result of tgamma(-10) is: "
       << C::tgamma(-10) << std::endl;
    std::cout << "errno = " << errno << std::endl;
 }
@@ -92,10 +92,11 @@
 errno = 33
 ]
 
-This mechanism is particularly useful when we want to define a
+This mechanism is particularly useful when we want to define a
 project-wide policy, and don't want to modify the Boost source
-or set - possibly fragile and easy to forget - project wide
+or set - possibly fragile and easy to forget - project wide
 build macros.
 
-*/ //] ends quickbook imported section
+*/
+//]
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk