Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51891 - trunk/boost/utility
From: pdimov_at_[hidden]
Date: 2009-03-21 16:20:39


Author: pdimov
Date: 2009-03-21 16:20:37 EDT (Sat, 21 Mar 2009)
New Revision: 51891
URL: http://svn.boost.org/trac/boost/changeset/51891

Log:
Disable new addressof code for all Borland versions. Refs #2878.
Text files modified:
   trunk/boost/utility/addressof.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/utility/addressof.hpp
==============================================================================
--- trunk/boost/utility/addressof.hpp (original)
+++ trunk/boost/utility/addressof.hpp 2009-03-21 16:20:37 EDT (Sat, 21 Mar 2009)
@@ -47,7 +47,7 @@
 
 template<class T> T * addressof( T & v )
 {
-#if BOOST_WORKAROUND( __BORLANDC__, < 0x560 )
+#if BOOST_WORKAROUND( __BORLANDC__, BOOST_TESTED_AT( 0x610 ) )
 
     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