Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 1 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 2 | #ifndef NDNBOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED |
| 3 | #define NDNBOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 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 | // $Id: has_xxx.hpp 63518 2010-07-02 08:32:03Z agurtovoy $ |
| 15 | // $Date: 2010-07-02 01:32:03 -0700 (Fri, 02 Jul 2010) $ |
| 16 | // $Revision: 63518 $ |
| 17 | |
| 18 | #include <ndnboost/mpl/aux_/config/overload_resolution.hpp> |
| 19 | #include <ndnboost/mpl/aux_/config/workaround.hpp> |
| 20 | |
| 21 | // agurt, 11/jan/03: signals a stub-only 'has_xxx' implementation |
| 22 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 23 | #if !defined(NDNBOOST_MPL_CFG_NO_HAS_XXX) \ |
| 24 | && ( defined(NDNBOOST_MPL_CFG_BROKEN_OVERLOAD_RESOLUTION) \ |
| 25 | || NDNBOOST_WORKAROUND(__GNUC__, <= 2) \ |
| 26 | || NDNBOOST_WORKAROUND(__DMC__, NDNBOOST_TESTED_AT(0x840)) \ |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 27 | ) |
| 28 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 29 | # define NDNBOOST_MPL_CFG_NO_HAS_XXX |
| 30 | # define NDNBOOST_MPL_CFG_NO_HAS_XXX_TEMPLATE |
Jeff Thompson | a28eed8 | 2013-08-22 16:21:10 -0700 | [diff] [blame] | 31 | |
| 32 | #endif |
| 33 | |
Jeff Thompson | 3d613fd | 2013-10-15 15:39:04 -0700 | [diff] [blame] | 34 | #endif // NDNBOOST_MPL_AUX_CONFIG_HAS_XXX_HPP_INCLUDED |