summaryrefslogtreecommitdiff
path: root/boost/range/traversal.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/range/traversal.hpp')
-rw-r--r--boost/range/traversal.hpp31
1 files changed, 31 insertions, 0 deletions
diff --git a/boost/range/traversal.hpp b/boost/range/traversal.hpp
new file mode 100644
index 0000000000..237b3e88e0
--- /dev/null
+++ b/boost/range/traversal.hpp
@@ -0,0 +1,31 @@
+// Boost.Range library
+//
+// Copyright Neil Groves 2014. Use, modification and
+// distribution is subject to 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)
+//
+// For more information, see http://www.boost.org/libs/range/
+//
+
+#ifndef BOOST_RANGE_TRAVERSAL_HPP
+#define BOOST_RANGE_TRAVERSAL_HPP
+
+#if defined(_MSC_VER)
+# pragma once
+#endif
+
+#include <boost/range/config.hpp>
+#include <boost/range/iterator.hpp>
+#include <boost/iterator/iterator_traits.hpp>
+
+namespace boost
+{
+ template<typename SinglePassRange>
+ struct range_traversal
+ : iterator_traversal<typename range_iterator<SinglePassRange>::type>
+ {
+ };
+}
+
+#endif