1 
2 // Copyright Aleksey Gurtovoy 2000-2004
3 // Copyright David Abrahams 2003
4 //
5 // Distributed under the Boost Software License, Version 1.0.
6 // (See accompanying file LICENSE_1_0.txt or copy at
7 // http://www.boost.org/LICENSE_1_0.txt)
8 //
9 // See http://www.boost.org/libs/mpl for documentation.
10 
11 // $Id$
12 // $Date$
13 // $Revision$
14 
15 
16 // This file tests that we have the right value for
17 // BOOST_MPL_CFG_NO_HAS_XXX, and that 'has_xxx' doesn't just fail to
18 // compile arbitrarily.
19 
20 #include <boost/mpl/aux_/config/has_xxx.hpp>
21 
22 #if defined(BOOST_MPL_CFG_NO_HAS_XXX)
23 #   define HAS_XXX_ASSERT(x) MPL_ASSERT_NOT(x)
24 #endif
25 
26 #if defined(BOOST_MPL_CFG_NO_HAS_XXX_TEMPLATE)
27 #   define HAS_XXX_TEMPLATE_ASSERT(x) MPL_ASSERT_NOT(x)
28 #endif
29 
30 #include "has_xxx.cpp"
31