adl_barrier.hpp

Go to the documentation of this file.
00001 
00002 #ifndef BOOST_MPL_AUX_ADL_BARRIER_HPP_INCLUDED
00003 #define BOOST_MPL_AUX_ADL_BARRIER_HPP_INCLUDED
00004 
00005 // Copyright Aleksey Gurtovoy 2002-2004
00006 //
00007 // Distributed under the Boost Software License, Version 1.0. 
00008 // (See accompanying file LICENSE_1_0.txt or copy at 
00009 // http://www.boost.org/LICENSE_1_0.txt)
00010 //
00011 // See http://www.boost.org/libs/mpl for documentation.
00012 
00013 // $Source: /Users/acg/CVSROOT/systemc-2.2/src/sysc/packages/boost/mpl/aux_/adl_barrier.hpp,v $
00014 // $Date: 2006/12/15 20:31:38 $
00015 // $Revision: 1.1.1.1 $
00016 
00017 #include <sysc/packages/boost/mpl/aux_/config/adl.hpp>
00018 #include <sysc/packages/boost/mpl/aux_/config/gcc.hpp>
00019 #include <sysc/packages/boost/mpl/aux_/config/workaround.hpp>
00020 
00021 #if !defined(BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE)
00022 
00023 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE mpl_
00024 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN namespace mpl_ {
00025 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE }
00026 #   define BOOST_MPL_AUX_ADL_BARRIER_DECL(type) \
00027     namespace boost { namespace mpl { \
00028     using ::BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::type; \
00029     } } \
00030 /**/
00031 
00032 #if !defined(BOOST_MPL_PREPROCESSING_MODE)
00033 namespace BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE { namespace aux {} }
00034 namespace boost { namespace mpl { using namespace BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE; 
00035 namespace aux { using namespace BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE::aux; }
00036 }}
00037 #endif
00038 
00039 #else // BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE
00040 
00041 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE boost::mpl
00042 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_OPEN namespace boost { namespace mpl {
00043 #   define BOOST_MPL_AUX_ADL_BARRIER_NAMESPACE_CLOSE }}
00044 #   define BOOST_MPL_AUX_ADL_BARRIER_DECL(type) /**/
00045 
00046 #endif
00047 
00048 #endif // BOOST_MPL_AUX_ADL_BARRIER_HPP_INCLUDED

Generated on Wed Jan 21 15:32:10 2009 for SystemC by  doxygen 1.5.5