Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83524 - branches/release/boost/utility
From: vicente.botet_at_[hidden]
Date: 2013-03-22 21:44:10


Author: viboes
Date: 2013-03-22 21:44:06 EDT (Fri, 22 Mar 2013)
New Revision: 83524
URL: http://svn.boost.org/trac/boost/changeset/83524

Log:
Utility/address_off: fix #7079.
Text files modified:
   branches/release/boost/utility/addressof.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: branches/release/boost/utility/addressof.hpp
==============================================================================
--- branches/release/boost/utility/addressof.hpp (original)
+++ branches/release/boost/utility/addressof.hpp 2013-03-22 21:44:06 EDT (Fri, 22 Mar 2013)
@@ -1,4 +1,4 @@
-// Copyright (C) 2002 Brad King (brad.king_at_[hidden])
+// Copyright (C) 2002 Brad King (brad.king_at_[hidden])
 // Douglas Gregor (gregod_at_[hidden])
 //
 // Copyright (C) 2002, 2008 Peter Dimov
@@ -50,7 +50,7 @@
 
 template<class T> T * addressof( T & v )
 {
-#if defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x610 ) )
+#if (defined( __BORLANDC__ ) && BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x610 ) ) ) || defined( __SUNPRO_CC )
 
     return boost::detail::addressof_impl<T>::f( v, 0 );
 


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