Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60619 - in trunk/boost/random: . detail
From: steven_at_[hidden]
Date: 2010-03-15 13:18:52


Author: steven_watanabe
Date: 2010-03-15 13:18:52 EDT (Mon, 15 Mar 2010)
New Revision: 60619
URL: http://svn.boost.org/trac/boost/changeset/60619

Log:
Try to help out borland
Text files modified:
   trunk/boost/random/detail/seed.hpp | 4 ++--
   trunk/boost/random/variate_generator.hpp | 4 ++--
   2 files changed, 4 insertions(+), 4 deletions(-)

Modified: trunk/boost/random/detail/seed.hpp
==============================================================================
--- trunk/boost/random/detail/seed.hpp (original)
+++ trunk/boost/random/detail/seed.hpp 2010-03-15 13:18:52 EDT (Mon, 15 Mar 2010)
@@ -16,8 +16,8 @@
 #include <boost/config.hpp>
 
 // Sun seems to have trouble with the use of SFINAE for the
-// templated constructor.
-#if !defined(BOOST_NO_SFINAE) && !defined(__SUNPRO_CC)
+// templated constructor. So does Borland.
+#if !defined(BOOST_NO_SFINAE) && !defined(__SUNPRO_CC) && !defined(__BORLANDC__)
 
 #include <boost/utility/enable_if.hpp>
 #include <boost/type_traits/is_arithmetic.hpp>

Modified: trunk/boost/random/variate_generator.hpp
==============================================================================
--- trunk/boost/random/variate_generator.hpp (original)
+++ trunk/boost/random/variate_generator.hpp 2010-03-15 13:18:52 EDT (Mon, 15 Mar 2010)
@@ -198,8 +198,8 @@
 private:
 #if BOOST_WORKAROUND(__BORLANDC__, <= 0x564)
   typedef typename random::detail::engine_helper<
- boost::is_integral<typename decorated_engine::result_type>::value,
- boost::is_integral<typename Distribution::input_type>::value
+ ::boost::is_integral<typename decorated_engine::result_type>::value,
+ ::boost::is_integral<typename Distribution::input_type>::value
>::BOOST_NESTED_TEMPLATE impl<decorated_engine, typename Distribution::input_type>::type internal_engine_type;
 #else
   enum {


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