Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51654 - trunk/boost/fusion/support
From: hartmut.kaiser_at_[hidden]
Date: 2009-03-08 21:17:21


Author: hkaiser
Date: 2009-03-08 21:17:20 EDT (Sun, 08 Mar 2009)
New Revision: 51654
URL: http://svn.boost.org/trac/boost/changeset/51654

Log:
Protected unused_type by an ADL barrier
Text files modified:
   trunk/boost/fusion/support/unused.hpp | 8 +++++++-
   1 files changed, 7 insertions(+), 1 deletions(-)

Modified: trunk/boost/fusion/support/unused.hpp
==============================================================================
--- trunk/boost/fusion/support/unused.hpp (original)
+++ trunk/boost/fusion/support/unused.hpp 2009-03-08 21:17:20 EDT (Sun, 08 Mar 2009)
@@ -15,7 +15,7 @@
 
 #define BOOST_FUSION_UNUSED_HAS_IO
 
-namespace boost { namespace fusion
+namespace fusion_adl_barrier
 {
     struct unused_type
     {
@@ -56,6 +56,12 @@
     };
 
     unused_type const unused = unused_type();
+}
+
+namespace boost { namespace fusion
+{
+ using ::fusion_adl_barrier::unused_type;
+ using ::fusion_adl_barrier::unused;
 
     template <typename Out>
     inline Out& operator<<(Out& out, unused_type const&)


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