Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:57:04

0001 
0002 #ifndef BOOST_MPL_AUX_ADL_BARRIER_HPP_INCLUDED
0003 #define BOOST_MPL_AUX_ADL_BARRIER_HPP_INCLUDED
0004 
0005 // Copyright Aleksey Gurtovoy 2002-2004
0006 //
0007 // Distributed under the Boost Software License, Version 1.0. 
0008 // (See accompanying file LICENSE_1_0.txt or copy at 
0009 // http://www.boost.org/LICENSE_1_0.txt)
0010 //
0011 // See http://www.boost.org/libs/mpl for documentation.
0012 
0013 // $Id$
0014 // $Date$
0015 // $Revision$
0016 
0017 #include <boost/mpl/aux_/config/adl.hpp>
0018 #include <boost/mpl/aux_/config/gcc.hpp>
0019 #include <boost/mpl/aux_/config/workaround.hpp>
0020 
0021 #if !defined(BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE)
0022 
0023 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE mpl_
0024 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN namespace mpl_ {
0025 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE }
0026 #   define BOOST_MPL_AUX_ADL_BARRIER_DECL(type) \
0027     namespace boost { namespace mpl { \
0028     using ::BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::type; \
0029     } } \
0030 /**/
0031 
0032 #if !defined(BOOST_MPL_PREPROCESSING_MODE)
0033 namespace BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE { namespace aux {} }
0034 namespace boost { namespace mpl { using namespace BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE; 
0035 namespace aux { using namespace BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::aux; }
0036 }}
0037 #endif
0038 
0039 #else // BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE
0040 
0041 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE boost::mpl
0042 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN namespace boost { namespace mpl {
0043 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE }}
0044 #   define BOOST_MPL_AUX_ADL_BARRIER_DECL(type) /**/
0045 
0046 #endif
0047 
0048 #endif // BOOST_MPL_AUX_ADL_BARRIER_HPP_INCLUDED