Chris@16: Chris@16: #ifndef BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED Chris@16: #define BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED Chris@16: Chris@16: // Copyright Aleksey Gurtovoy 2002-2004 Chris@16: // Chris@16: // Distributed under the Boost Software License, Version 1.0. Chris@16: // (See accompanying file LICENSE_1_0.txt or copy at Chris@16: // http://www.boost.org/LICENSE_1_0.txt) Chris@16: // Chris@16: // See http://www.boost.org/libs/mpl for documentation. Chris@16: Chris@101: // $Id$ Chris@101: // $Date$ Chris@101: // $Revision$ Chris@16: Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: // agurt, 25/apr/04: technically, the ADL workaround is only needed for GCC, Chris@16: // but putting everything expect public, user-specializable metafunctions into Chris@16: // a separate global namespace has a nice side effect of reducing the length Chris@16: // of template instantiation symbols, so we apply the workaround on all Chris@16: // platforms that can handle it Chris@16: Chris@16: #if !defined(BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE) \ Chris@16: && ( BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) \ Chris@16: || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) \ Chris@16: || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) \ Chris@16: || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3202)) \ Chris@16: || BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, BOOST_TESTED_AT(810)) \ Chris@16: ) Chris@16: Chris@16: # define BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE Chris@16: Chris@16: #endif Chris@16: Chris@16: #endif // BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED