1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/epoc32/include/stdapis/boost/mpl/aux_/na_assert.hpp Tue Mar 16 16:12:26 2010 +0000
1.3 @@ -0,0 +1,34 @@
1.4 +
1.5 +#ifndef BOOST_MPL_AUX_NA_ASSERT_HPP_INCLUDED
1.6 +#define BOOST_MPL_AUX_NA_ASSERT_HPP_INCLUDED
1.7 +
1.8 +// Copyright Aleksey Gurtovoy 2001-2004
1.9 +//
1.10 +// Distributed under the Boost Software License, Version 1.0.
1.11 +// (See accompanying file LICENSE_1_0.txt or copy at
1.12 +// http://www.boost.org/LICENSE_1_0.txt)
1.13 +//
1.14 +// See http://www.boost.org/libs/mpl for documentation.
1.15 +
1.16 +// $Source: /cvsroot/boost/boost/boost/mpl/aux_/na_assert.hpp,v $
1.17 +// $Date: 2005/07/13 13:13:38 $
1.18 +// $Revision: 1.6 $
1.19 +
1.20 +#include <boost/mpl/aux_/na.hpp>
1.21 +#include <boost/mpl/aux_/config/msvc.hpp>
1.22 +#include <boost/mpl/aux_/config/workaround.hpp>
1.23 +
1.24 +#if !BOOST_WORKAROUND(_MSC_FULL_VER, <= 140050601) \
1.25 + && !BOOST_WORKAROUND(__EDG_VERSION__, <= 243)
1.26 +# include <boost/mpl/assert.hpp>
1.27 +# define BOOST_MPL_AUX_ASSERT_NOT_NA(x) \
1.28 + BOOST_MPL_ASSERT_NOT((boost::mpl::is_na<type>)) \
1.29 +/**/
1.30 +#else
1.31 +# include <boost/static_assert.hpp>
1.32 +# define BOOST_MPL_AUX_ASSERT_NOT_NA(x) \
1.33 + BOOST_STATIC_ASSERT(!boost::mpl::is_na<x>::value) \
1.34 +/**/
1.35 +#endif
1.36 +
1.37 +#endif // BOOST_MPL_AUX_NA_ASSERT_HPP_INCLUDED