Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:40:59

0001 
0002 #ifndef BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED
0003 #define BOOST_MPL_AUX_CONFIG_ADL_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/msvc.hpp>
0018 #include <boost/mpl/aux_/config/intel.hpp>
0019 #include <boost/mpl/aux_/config/gcc.hpp>
0020 #include <boost/mpl/aux_/config/workaround.hpp>
0021 
0022 // agurt, 25/apr/04: technically, the ADL workaround is only needed for GCC,
0023 // but putting everything expect public, user-specializable metafunctions into
0024 // a separate global namespace has a nice side effect of reducing the length 
0025 // of template instantiation symbols, so we apply the workaround on all 
0026 // platforms that can handle it
0027 
0028 #if !defined(BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE) \
0029     && (   BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) \
0030         || BOOST_WORKAROUND(BOOST_BORLANDC, BOOST_TESTED_AT(0x610)) \
0031         || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) \
0032         || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3202)) \
0033         || BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, BOOST_TESTED_AT(810)) \
0034         )
0035 
0036 #   define BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE
0037 
0038 #endif
0039 
0040 #endif // BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED