Squashed 'third_party/boostorg/odeint/' content from commit 6ff2719

Change-Id: If4892e29c1a5e6cf3a7aa51486a2725c251b0c7d
git-subtree-dir: third_party/boostorg/odeint
git-subtree-split: 6ff2719b6907b86596c3d43e88c1bcfdf29df560
diff --git a/test/const_range.hpp b/test/const_range.hpp
new file mode 100644
index 0000000..d646b1d
--- /dev/null
+++ b/test/const_range.hpp
@@ -0,0 +1,50 @@
+/*
+  [auto_generated]
+  libs/numeric/odeint/test/const_range.hpp
+
+  [begin_description]
+  tba.
+  [end_description]
+
+  Copyright 2012 Karsten Ahnert
+  Copyright 2012 Mario Mulansky
+
+  Distributed under the Boost Software License, Version 1.0.
+  (See accompanying file LICENSE_1_0.txt or
+  copy at http://www.boost.org/LICENSE_1_0.txt)
+*/
+
+
+#ifndef LIBS_NUMERIC_ODEINT_TEST_CONST_RANGE_HPP_DEFINED
+#define LIBS_NUMERIC_ODEINT_TEST_CONST_RANGE_HPP_DEFINED
+
+#include <boost/mpl/copy.hpp>
+#include <boost/mpl/inserter.hpp>
+#include <boost/mpl/insert.hpp>
+#include <boost/mpl/end.hpp>
+#include <boost/mpl/vector.hpp>
+#include <boost/mpl/range_c.hpp>
+#include <boost/mpl/placeholders.hpp>
+
+
+namespace mpl = boost::mpl;
+
+
+
+template< class N , class T >
+struct const_range
+{
+    typedef typename mpl::copy<
+        mpl::range_c< typename N::value_type , 0 , N::value > ,
+        mpl::inserter<
+            mpl::vector0<> ,
+            mpl::insert<
+                mpl::_1 ,
+                mpl::end< mpl::_1 > ,
+                T
+                >
+            >
+        >::type type;
+};
+
+#endif // LIBS_NUMERIC_ODEINT_TEST_CONST_RANGE_HPP_DEFINED