Files

35 lines
1.0 KiB
C++

#ifndef ACTIV_BOOST_MPL_AUX_NA_ASSERT_HPP_INCLUDED
#define ACTIV_BOOST_MPL_AUX_NA_ASSERT_HPP_INCLUDED
// Copyright Aleksey Gurtovoy 2001-2004
//
// 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$
#include <ActivBoost/mpl/aux_/na.hpp>
#include <ActivBoost/mpl/aux_/config/msvc.hpp>
#include <ActivBoost/mpl/aux_/config/workaround.hpp>
#if !ACTIV_BOOST_WORKAROUND(_MSC_FULL_VER, <= 140050601) \
&& !ACTIV_BOOST_WORKAROUND(__EDG_VERSION__, <= 243)
# include <ActivBoost/mpl/assert.hpp>
# define ACTIV_BOOST_MPL_AUX_ASSERT_NOT_NA(x) \
ACTIV_BOOST_MPL_ASSERT_NOT((Boost::mpl::is_na<type>)) \
/**/
#else
# include <ActivBoost/static_assert.hpp>
# define ACTIV_BOOST_MPL_AUX_ASSERT_NOT_NA(x) \
ACTIV_BOOST_STATIC_ASSERT(!Boost::mpl::is_na<x>::value) \
/**/
#endif
#endif // ACTIV_BOOST_MPL_AUX_NA_ASSERT_HPP_INCLUDED