2
0
mirror of https://github.com/boostorg/mpl.git synced 2026-01-21 17:12:12 +00:00
Files
mpl/test/no_has_xxx.cpp
K. Noel Belcourt 6a0f617a6c Revert "Merge pull request #11 from Lastique/modularization"
This reverts commit a9a1eddba8, reversing
changes made to d6bc9845ba.
2014-09-19 18:55:00 -06:00

31 lines
748 B
C++

// Copyright Aleksey Gurtovoy 2000-2004
// Copyright David Abrahams 2003
//
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
//
// See http://www.boost.org/libs/mpl for documentation.
// $Id$
// $Date$
// $Revision$
// This file tests that we have the right value for
// BOOST_MPL_CFG_NO_HAS_XXX, and that 'has_xxx' doesn't just fail to
// compile arbitrarily.
#include <boost/mpl/aux_/config/has_xxx.hpp>
#if defined(BOOST_MPL_CFG_NO_HAS_XXX)
# define HAS_XXX_ASSERT(x) MPL_ASSERT_NOT(x)
#endif
#if defined(BOOST_MPL_CFG_NO_HAS_XXX_TEMPLATE)
# define HAS_XXX_TEMPLATE_ASSERT(x) MPL_ASSERT_NOT(x)
#endif
#include "has_xxx.cpp"