epoc32/include/stdapis/boost/mpl/aux_/config/adl.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/mpl/aux_/config/adl.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +
     1.5 +#ifndef BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED
     1.6 +#define BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED
     1.7 +
     1.8 +// Copyright Aleksey Gurtovoy 2002-2004
     1.9 +//
    1.10 +// Distributed under the Boost Software License, Version 1.0. 
    1.11 +// (See accompanying file LICENSE_1_0.txt or copy at 
    1.12 +// http://www.boost.org/LICENSE_1_0.txt)
    1.13 +//
    1.14 +// See http://www.boost.org/libs/mpl for documentation.
    1.15 +
    1.16 +// $Source: /cvsroot/boost/boost/boost/mpl/aux_/config/adl.hpp,v $
    1.17 +// $Date: 2004/09/16 14:08:47 $
    1.18 +// $Revision: 1.1 $
    1.19 +
    1.20 +#include <boost/mpl/aux_/config/msvc.hpp>
    1.21 +#include <boost/mpl/aux_/config/intel.hpp>
    1.22 +#include <boost/mpl/aux_/config/gcc.hpp>
    1.23 +#include <boost/mpl/aux_/config/workaround.hpp>
    1.24 +
    1.25 +// agurt, 25/apr/04: technically, the ADL workaround is only needed for GCC,
    1.26 +// but putting everything expect public, user-specializable metafunctions into
    1.27 +// a separate global namespace has a nice side effect of reducing the length 
    1.28 +// of template instantiation symbols, so we apply the workaround on all 
    1.29 +// platforms that can handle it
    1.30 +
    1.31 +#if !defined(BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE) \
    1.32 +    && (   BOOST_WORKAROUND(BOOST_MSVC, BOOST_TESTED_AT(1400)) \
    1.33 +        || BOOST_WORKAROUND(__BORLANDC__, < 0x600) \
    1.34 +        || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) \
    1.35 +        || BOOST_WORKAROUND(__MWERKS__, BOOST_TESTED_AT(0x3202)) \
    1.36 +        || BOOST_WORKAROUND(BOOST_INTEL_CXX_VERSION, BOOST_TESTED_AT(810)) \
    1.37 +        )
    1.38 +
    1.39 +#   define BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE
    1.40 +
    1.41 +#endif
    1.42 +
    1.43 +#endif // BOOST_MPL_AUX_CONFIG_ADL_HPP_INCLUDED