Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r52513 - trunk/boost/math/policies
From: john_at_[hidden]
Date: 2009-04-20 11:59:59


Author: johnmaddock
Date: 2009-04-20 11:59:58 EDT (Mon, 20 Apr 2009)
New Revision: 52513
URL: http://svn.boost.org/trac/boost/changeset/52513

Log:
Fixes #2961.
GCC-4.0 workaround.
Text files modified:
   trunk/boost/math/policies/policy.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/math/policies/policy.hpp
==============================================================================
--- trunk/boost/math/policies/policy.hpp (original)
+++ trunk/boost/math/policies/policy.hpp 2009-04-20 11:59:58 EDT (Mon, 20 Apr 2009)
@@ -285,13 +285,13 @@
 template <class T>
 struct is_valid_policy_imp
 {
- BOOST_STATIC_CONSTANT(bool, value = sizeof(test_is_valid_arg(static_cast<T*>(0))) == 1);
+ BOOST_STATIC_CONSTANT(bool, value = sizeof(::boost::math::policies::detail::test_is_valid_arg(static_cast<T*>(0))) == 1);
 };
 
 template <class T>
 struct is_default_policy_imp
 {
- BOOST_STATIC_CONSTANT(bool, value = sizeof(test_is_default_arg(static_cast<T*>(0))) == 1);
+ BOOST_STATIC_CONSTANT(bool, value = sizeof(::boost::math::policies::detail::test_is_default_arg(static_cast<T*>(0))) == 1);
 };
 
 template <class T> struct is_valid_policy
@@ -871,7 +871,7 @@
 template <class P>
 struct is_policy_imp
 {
- BOOST_STATIC_CONSTANT(bool, value = (sizeof(test_is_policy(static_cast<P*>(0))) == 1));
+ BOOST_STATIC_CONSTANT(bool, value = (sizeof(::boost::math::policies::detail::test_is_policy(static_cast<P*>(0))) == 1));
 };
 
 }


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