|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r65127 - trunk/libs/math/example
From: pbristow_at_[hidden]
Date: 2010-08-30 05:20:58
Author: pbristow
Date: 2010-08-30 05:20:54 EDT (Mon, 30 Aug 2010)
New Revision: 65127
URL: http://svn.boost.org/trac/boost/changeset/65127
Log:
Avoid name ambiguity.
Text files modified:
trunk/libs/math/example/c_error_policy_example.cpp | 15 ++++++++++-----
1 files changed, 10 insertions(+), 5 deletions(-)
Modified: trunk/libs/math/example/c_error_policy_example.cpp
==============================================================================
--- trunk/libs/math/example/c_error_policy_example.cpp (original)
+++ trunk/libs/math/example/c_error_policy_example.cpp 2010-08-30 05:20:54 EDT (Mon, 30 Aug 2010)
@@ -1,6 +1,6 @@
// C_error_policy_example.cpp
-// Copyright Paul A. Bristow 2007.
+// Copyright Paul A. Bristow 2007, 2010.
// Copyright John Maddock 2007.
// Use, modification and distribution are subject to the
@@ -27,7 +27,7 @@
//using boost::math::policies::ignore_error;
//using namespace boost::math::policies;
-//using namespace boost::math;
+//using namespace boost::math; // avoid potential ambiuity with std:: <random>
// Define a policy:
typedef policy<
@@ -67,8 +67,13 @@
Output
-Autorun "i:\boost-06-05-03-1300\libs\math\test\Math_test\debug\c_error_policy_example.exe"
-tgamma(4., C_error_policy() = 6
-tgamma(4., make_policy( ...) = 6
+ c_error_policy_example.cpp
+ Generating code
+ Finished generating code
+ c_error_policy_example.vcxproj -> J:\Cpp\MathToolkit\test\Math_test\Release\c_error_policy_example.exe
+ tgamma(4., C_error_policy() = 6
+ tgamma(4., make_policy( ...) = 6
+ tgamma(4., C_error_policy() = 6
+ tgamma(4., make_policy( ...) = 6
*/
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