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