Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r63310 - trunk/boost/random/detail
From: steven_at_[hidden]
Date: 2010-06-25 12:35:06


Author: steven_watanabe
Date: 2010-06-25 12:35:06 EDT (Fri, 25 Jun 2010)
New Revision: 63310
URL: http://svn.boost.org/trac/boost/changeset/63310

Log:
Extend operator workarounds to Sun CC.
Text files modified:
   trunk/boost/random/detail/operators.hpp | 4 +++-
   1 files changed, 3 insertions(+), 1 deletions(-)

Modified: trunk/boost/random/detail/operators.hpp
==============================================================================
--- trunk/boost/random/detail/operators.hpp (original)
+++ trunk/boost/random/detail/operators.hpp 2010-06-25 12:35:06 EDT (Fri, 25 Jun 2010)
@@ -14,8 +14,10 @@
 #define BOOST_RANDOM_DETAIL_OPERATORS_HPP
 
 #include <boost/random/detail/config.hpp>
+#include <boost/detail/workaround.hpp>
 
-#if BOOST_WORKAROUND(BOOST_MSVC, <= 1310)
+#if BOOST_WORKAROUND(BOOST_MSVC, <= 1310) \
+ || BOOST_WORKAROUND(__SUNPRO_CC, BOOST_TESTED_AT(0x5100))
 
 #define BOOST_RANDOM_DETAIL_OSTREAM_OPERATOR(os, T, t) \
     template<class CharT, class Traits> \


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