source: NonGTP/Boost/boost/mpl/aux_/config/has_xxx.hpp @ 857

Revision 857, 1.0 KB checked in by igarcia, 18 years ago (diff)
Line 
1
2#ifndef BOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED
3#define BOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED
4
5// Copyright Aleksey Gurtovoy 2002-2004
6// Copyright David Abrahams 2002-2003
7//
8// Distributed under the Boost Software License, Version 1.0.
9// (See accompanying file LICENSE_1_0.txt or copy at
10// http://www.boost.org/LICENSE_1_0.txt)
11//
12// See http://www.boost.org/libs/mpl for documentation.
13
14// $Source: /cvsroot/boost/boost/boost/mpl/aux_/config/has_xxx.hpp,v $
15// $Date: 2004/09/03 15:56:56 $
16// $Revision: 1.3 $
17
18#include <boost/mpl/aux_/config/overload_resolution.hpp>
19#include <boost/mpl/aux_/config/workaround.hpp>
20
21// agurt, 11/jan/03: signals a stub-only 'has_xxx' implementation
22
23#if !defined(BOOST_MPL_CFG_NO_HAS_XXX) \
24    && (   defined(BOOST_MPL_CFG_BROKEN_OVERLOAD_RESOLUTION) \
25        || BOOST_WORKAROUND(__GNUC__, <= 2) \
26        || BOOST_WORKAROUND(__DMC__, BOOST_TESTED_AT(0x840)) \
27        )
28
29#   define BOOST_MPL_CFG_NO_HAS_XXX
30
31#endif
32
33#endif // BOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED
Note: See TracBrowser for help on using the repository browser.