state_wrapper.hpp 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. /*
  2. [auto_generated]
  3. boost/numeric/odeint/util/state_wrapper.hpp
  4. [begin_description]
  5. State wrapper for the state type in all stepper. The state wrappers are responsible for construction,
  6. destruction, copying construction, assignment and resizing.
  7. [end_description]
  8. Copyright 2011-2012 Mario Mulansky
  9. Copyright 2011-2013 Karsten Ahnert
  10. Distributed under the Boost Software License, Version 1.0.
  11. (See accompanying file LICENSE_1_0.txt or
  12. copy at http://www.boost.org/LICENSE_1_0.txt)
  13. */
  14. #ifndef BOOST_NUMERIC_ODEINT_UTIL_STATE_WRAPPER_HPP_INCLUDED
  15. #define BOOST_NUMERIC_ODEINT_UTIL_STATE_WRAPPER_HPP_INCLUDED
  16. #include <boost/type_traits/integral_constant.hpp>
  17. #include <boost/numeric/odeint/util/is_resizeable.hpp>
  18. #include <boost/numeric/odeint/util/resize.hpp>
  19. #include <boost/numeric/odeint/util/same_size.hpp>
  20. namespace boost {
  21. namespace numeric {
  22. namespace odeint {
  23. template< class V , class Enabler = void >
  24. struct state_wrapper
  25. {
  26. typedef state_wrapper< V > state_wrapper_type;
  27. V m_v;
  28. };
  29. }
  30. }
  31. }
  32. #endif // BOOST_NUMERIC_ODEINT_UTIL_STATE_WRAPPER_HPP_INCLUDED