From c81456f35e00982c018c573993cc419270def404 Mon Sep 17 00:00:00 2001 From: Hartmut Kaiser Date: Mon, 9 Mar 2009 01:17:20 +0000 Subject: [PATCH] Protected unused_type by an ADL barrier [SVN r51654] --- include/boost/fusion/support/unused.hpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/boost/fusion/support/unused.hpp b/include/boost/fusion/support/unused.hpp index a919e6bf..b55fb2d1 100644 --- a/include/boost/fusion/support/unused.hpp +++ b/include/boost/fusion/support/unused.hpp @@ -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 @@ namespace boost { namespace fusion }; unused_type const unused = unused_type(); +} + +namespace boost { namespace fusion +{ + using ::fusion_adl_barrier::unused_type; + using ::fusion_adl_barrier::unused; template inline Out& operator<<(Out& out, unused_type const&)