fusion_algebra_dispatcher.hpp 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /*
  2. [auto_generated]
  3. boost/numeric/odeint/algebra/fusion_algebra_dispatcher.hpp
  4. [begin_description]
  5. tba.
  6. [end_description]
  7. Copyright 2013 Karsten Ahnert
  8. Copyright 2013 Mario Mulansky
  9. Distributed under the Boost Software License, Version 1.0.
  10. (See accompanying file LICENSE_1_0.txt or
  11. copy at http://www.boost.org/LICENSE_1_0.txt)
  12. */
  13. #ifndef BOOST_NUMERIC_ODEINT_ALGEBRA_FUSION_ALGEBRA_DISPATCHER_HPP_DEFINED
  14. #define BOOST_NUMERIC_ODEINT_ALGEBRA_FUSION_ALGEBRA_DISPATCHER_HPP_DEFINED
  15. #include <boost/numeric/odeint/algebra/fusion_algebra.hpp>
  16. #include <boost/numeric/odeint/algebra/algebra_dispatcher.hpp>
  17. #include <boost/utility/enable_if.hpp>
  18. #include <boost/fusion/include/is_sequence.hpp>
  19. namespace boost {
  20. namespace numeric {
  21. namespace odeint {
  22. // specialization for fusion sequences
  23. template< class FusionSequence >
  24. struct algebra_dispatcher_sfinae< FusionSequence ,
  25. typename boost::enable_if<
  26. typename boost::fusion::traits::is_sequence< FusionSequence >::type >::type >
  27. {
  28. typedef fusion_algebra algebra_type;
  29. };
  30. } // namespace odeint
  31. } // namespace numeric
  32. } // namespace boost
  33. #endif // BOOST_NUMERIC_ODEINT_ALGEBRA_FUSION_ALGEBRA_DISPATCHER_HPP_DEFINED