Chris@16
|
1
|
Chris@16
|
2 #ifndef BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED
|
Chris@16
|
3 #define BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED
|
Chris@16
|
4
|
Chris@16
|
5 // Copyright Aleksey Gurtovoy 2002-2004
|
Chris@16
|
6 //
|
Chris@16
|
7 // Distributed under the Boost Software License, Version 1.0.
|
Chris@16
|
8 // (See accompanying file LICENSE_1_0.txt or copy at
|
Chris@16
|
9 // http://www.boost.org/LICENSE_1_0.txt)
|
Chris@16
|
10 //
|
Chris@16
|
11 // See http://www.boost.org/libs/mpl for documentation.
|
Chris@16
|
12
|
Chris@101
|
13 // $Id$
|
Chris@101
|
14 // $Date$
|
Chris@101
|
15 // $Revision$
|
Chris@16
|
16
|
Chris@16
|
17 #include <boost/mpl/aux_/config/msvc.hpp>
|
Chris@16
|
18 #include <boost/mpl/aux_/config/intel.hpp>
|
Chris@16
|
19 #include <boost/mpl/aux_/config/gcc.hpp>
|
Chris@16
|
20 #include <boost/mpl/aux_/config/workaround.hpp>
|
Chris@16
|
21
|
Chris@16
|
22 // agurt, 25/apr/04: technically, the ADL workaround is only needed for GCC,
|
Chris@16
|
23 // but putting everything expect public, user-specializable metafunctions into
|
Chris@16
|
24 // a separate global namespace has a nice side effect of reducing the length
|
Chris@16
|
25 // of template instantiation symbols, so we apply the workaround on all
|
Chris@16
|
26 // platforms that can handle it
|
Chris@16
|
27
|
Chris@16
|
28 #if !defined(BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE) \
|
Chris@16
|
29 && ( BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) \
|
Chris@16
|
30 || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) \
|
Chris@16
|
31 || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) \
|
Chris@16
|
32 || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3202)) \
|
Chris@16
|
33 || BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, BOOST_TESTED_AT(810)) \
|
Chris@16
|
34 )
|
Chris@16
|
35
|
Chris@16
|
36 # define BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE
|
Chris@16
|
37
|
Chris@16
|
38 #endif
|
Chris@16
|
39
|
Chris@16
|
40 #endif // BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED
|