Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/numeric/odeint/algebra/detail/macros.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | c530137014c0 |
children |
rev | line source |
---|---|
Chris@16 | 1 /* |
Chris@16 | 2 [auto_generated] |
Chris@16 | 3 boost/numeric/odeint/algebra/detail/macros.hpp |
Chris@16 | 4 |
Chris@16 | 5 [begin_description] |
Chris@16 | 6 Some macros for type checking. |
Chris@16 | 7 [end_description] |
Chris@16 | 8 |
Chris@101 | 9 Copyright 2010-2012 Karsten Ahnert |
Chris@101 | 10 Copyright 2010 Mario Mulansky |
Chris@16 | 11 |
Chris@16 | 12 Distributed under the Boost Software License, Version 1.0. |
Chris@16 | 13 (See accompanying file LICENSE_1_0.txt or |
Chris@16 | 14 copy at http://www.boost.org/LICENSE_1_0.txt) |
Chris@16 | 15 */ |
Chris@16 | 16 |
Chris@16 | 17 |
Chris@16 | 18 #ifndef BOOST_NUMERIC_ODEINT_ALGEBRA_DETAIL_MACROS_HPP_INCLUDED |
Chris@16 | 19 #define BOOST_NUMERIC_ODEINT_ALGEBRA_DETAIL_MACROS_HPP_INCLUDED |
Chris@16 | 20 |
Chris@16 | 21 |
Chris@16 | 22 //type traits aren't working with nvcc |
Chris@16 | 23 #ifndef __CUDACC__ |
Chris@16 | 24 #include <boost/type_traits.hpp> |
Chris@16 | 25 #include <boost/static_assert.hpp> |
Chris@16 | 26 |
Chris@16 | 27 #define BOOST_ODEINT_CHECK_CONTAINER_TYPE( Type1 , Type2 ) \ |
Chris@16 | 28 BOOST_STATIC_ASSERT(( boost::is_same< typename boost::remove_const< Type1 >::type , Type2 >::value )) |
Chris@16 | 29 |
Chris@16 | 30 #else |
Chris@16 | 31 //empty macro for nvcc |
Chris@16 | 32 #define BOOST_ODEINT_CHECK_CONTAINER_TYPE( Type1 , Type2 ) |
Chris@16 | 33 |
Chris@16 | 34 #endif // __CUDACC__ |
Chris@16 | 35 |
Chris@16 | 36 |
Chris@16 | 37 |
Chris@16 | 38 /* |
Chris@16 | 39 #define BOOST_ODEINT_CHECK_OPERATION_ARITY( Operation , Arity ) \ |
Chris@16 | 40 BOOST_STATIC_ASSERT(( boost::function_traits< Operation >::arity == Arity )) |
Chris@16 | 41 */ |
Chris@16 | 42 |
Chris@16 | 43 #endif // BOOST_NUMERIC_ODEINT_ALGEBRA_DETAIL_MACROS_HPP_INCLUDED |