comparison DEPENDENCIES/generic/include/boost/mpl/assert.hpp @ 101:c530137014c0

Update Boost headers (1.58.0)
author Chris Cannam
date Mon, 07 Sep 2015 11:12:49 +0100
parents 2665513ce2d3
children
comparison
equal deleted inserted replaced
100:793467b5e61c 101:c530137014c0
8 // (See accompanying file LICENSE_1_0.txt or copy at 8 // (See accompanying file LICENSE_1_0.txt or copy at
9 // http://www.boost.org/LICENSE_1_0.txt) 9 // http://www.boost.org/LICENSE_1_0.txt)
10 // 10 //
11 // See http://www.boost.org/libs/mpl for documentation. 11 // See http://www.boost.org/libs/mpl for documentation.
12 12
13 // $Id: assert.hpp 86514 2013-10-29 13:15:03Z bemandawes $ 13 // $Id$
14 // $Date: 2013-10-29 06:15:03 -0700 (Tue, 29 Oct 2013) $ 14 // $Date$
15 // $Revision: 86514 $ 15 // $Revision$
16 16
17 #include <boost/mpl/not.hpp> 17 #include <boost/mpl/not.hpp>
18 #include <boost/mpl/aux_/value_wknd.hpp> 18 #include <boost/mpl/aux_/value_wknd.hpp>
19 #include <boost/mpl/aux_/nested_type_wknd.hpp> 19 #include <boost/mpl/aux_/nested_type_wknd.hpp>
20 #include <boost/mpl/aux_/yes_no.hpp> 20 #include <boost/mpl/aux_/yes_no.hpp>
23 23
24 #include <boost/mpl/aux_/config/nttp.hpp> 24 #include <boost/mpl/aux_/config/nttp.hpp>
25 #include <boost/mpl/aux_/config/dtp.hpp> 25 #include <boost/mpl/aux_/config/dtp.hpp>
26 #include <boost/mpl/aux_/config/gcc.hpp> 26 #include <boost/mpl/aux_/config/gcc.hpp>
27 #include <boost/mpl/aux_/config/msvc.hpp> 27 #include <boost/mpl/aux_/config/msvc.hpp>
28 #include <boost/mpl/aux_/config/gpu.hpp>
28 #include <boost/mpl/aux_/config/static_constant.hpp> 29 #include <boost/mpl/aux_/config/static_constant.hpp>
29 #include <boost/mpl/aux_/config/pp_counter.hpp> 30 #include <boost/mpl/aux_/config/pp_counter.hpp>
30 #include <boost/mpl/aux_/config/workaround.hpp> 31 #include <boost/mpl/aux_/config/workaround.hpp>
31 32
32 #include <boost/preprocessor/cat.hpp> 33 #include <boost/preprocessor/cat.hpp>
53 54
54 // agurt, 10/nov/06: use enums for Borland (which cannot cope with static constants) 55 // agurt, 10/nov/06: use enums for Borland (which cannot cope with static constants)
55 // and GCC (which issues "unused variable" warnings when static constants are used 56 // and GCC (which issues "unused variable" warnings when static constants are used
56 // at a function scope) 57 // at a function scope)
57 #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) \ 58 #if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x610)) \
58 || (BOOST_MPL_CFG_GCC != 0) 59 || (BOOST_MPL_CFG_GCC != 0) || (BOOST_MPL_CFG_GPU != 0)
59 # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr } 60 # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) enum { expr }
60 #else 61 #else
61 # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) BOOST_STATIC_CONSTANT(T, expr) 62 # define BOOST_MPL_AUX_ASSERT_CONSTANT(T, expr) BOOST_STATIC_CONSTANT(T, expr)
62 #endif 63 #endif
63 64