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