2 #ifndef BOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED
\r
3 #define BOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED
\r
5 // Copyright Aleksey Gurtovoy 2002-2004
\r
6 // Copyright David Abrahams 2002-2003
\r
8 // Distributed under the Boost Software License, Version 1.0.
\r
9 // (See accompanying file LICENSE_1_0.txt or copy at
\r
10 // http://www.boost.org/LICENSE_1_0.txt)
\r
12 // See http://www.boost.org/libs/mpl for documentation.
\r
14 // $Id: has_xxx.hpp 49267 2008-10-11 06:19:02Z agurtovoy $
\r
15 // $Date: 2008-10-11 02:19:02 -0400 (Sat, 11 Oct 2008) $
\r
16 // $Revision: 49267 $
\r
18 #include <boost/mpl/aux_/config/overload_resolution.hpp>
\r
19 #include <boost/mpl/aux_/config/workaround.hpp>
\r
21 // agurt, 11/jan/03: signals a stub-only 'has_xxx' implementation
\r
23 #if !defined(BOOST_MPL_CFG_NO_HAS_XXX) \
\r
24 && ( defined(BOOST_MPL_CFG_BROKEN_OVERLOAD_RESOLUTION) \
\r
25 || BOOST_WORKAROUND(__GNUC__, <= 2) \
\r
26 || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) \
\r
29 # define BOOST_MPL_CFG_NO_HAS_XXX
\r
33 #endif // BOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED
\r