1234567891011121314151617181920212223242526272829303132333435 |
- #ifndef BOOST_NUMERIC_ODEINT_ALGEBRA_DETAIL_MACROS_HPP_INCLUDED
- #define BOOST_NUMERIC_ODEINT_ALGEBRA_DETAIL_MACROS_HPP_INCLUDED
- #include <type_traits>
- #ifndef __CUDACC__
- #define BOOST_ODEINT_CHECK_CONTAINER_TYPE( Type1 , Type2 ) \
- static_assert(( std::is_same< typename std::remove_const< Type1 >::type , Type2 >::value ));
- #else
- #define BOOST_ODEINT_CHECK_CONTAINER_TYPE( Type1 , Type2 )
- #endif
- #endif
|