Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r57120 - trunk/boost/spirit/home/phoenix/operator/detail
From: hartmut.kaiser_at_[hidden]
Date: 2009-10-23 22:52:52


Author: hkaiser
Date: 2009-10-23 22:52:51 EDT (Fri, 23 Oct 2009)
New Revision: 57120
URL: http://svn.boost.org/trac/boost/changeset/57120

Log:
Phoenix: disambiguating addressof for vc10
Text files modified:
   trunk/boost/spirit/home/phoenix/operator/detail/io.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/spirit/home/phoenix/operator/detail/io.hpp
==============================================================================
--- trunk/boost/spirit/home/phoenix/operator/detail/io.hpp (original)
+++ trunk/boost/spirit/home/phoenix/operator/detail/io.hpp 2009-10-23 22:52:51 EDT (Fri, 23 Oct 2009)
@@ -31,7 +31,7 @@
     {
         static T x;
         BOOST_STATIC_CONSTANT(bool,
- value = sizeof(detail::ostream_test(addressof(x))) == sizeof(yes));
+ value = sizeof(detail::ostream_test(boost::addressof(x))) == sizeof(yes));
     };
 
     template <typename T>
@@ -39,7 +39,7 @@
     {
         static T x;
         BOOST_STATIC_CONSTANT(bool,
- value = sizeof(detail::istream_test(addressof(x))) == sizeof(yes));
+ value = sizeof(detail::istream_test(boost::addressof(x))) == sizeof(yes));
     };
 
     template <typename T0, typename T1>


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