summaryrefslogtreecommitdiff
path: root/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/fusion/view/repetitive_view/detail/value_of_impl.hpp')
-rw-r--r--boost/fusion/view/repetitive_view/detail/value_of_impl.hpp34
1 files changed, 34 insertions, 0 deletions
diff --git a/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp b/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp
new file mode 100644
index 0000000000..bf5f2f0615
--- /dev/null
+++ b/boost/fusion/view/repetitive_view/detail/value_of_impl.hpp
@@ -0,0 +1,34 @@
+/*=============================================================================
+ Copyright (c) 2007 Tobias Schwinger
+
+ 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)
+==============================================================================*/
+
+#if !defined(BOOST_FUSION_REPETITIVE_VIEW_VALUE_OF_IMPL_HPP_INCLUDED)
+#define BOOST_FUSION_REPETITIVE_VIEW_VALUE_OF_IMPL_HPP_INCLUDED
+
+#include <boost/fusion/iterator/value_of.hpp>
+
+namespace boost { namespace fusion
+{
+ struct repetitive_view_iterator_tag;
+
+ namespace extension
+ {
+ template<typename Tag>
+ struct value_of_impl;
+
+ template<>
+ struct value_of_impl<repetitive_view_iterator_tag>
+ {
+ template<typename Iterator>
+ struct apply
+ : result_of::value_of<typename Iterator::pos_type>
+ { };
+ };
+ }
+}}
+
+#endif
+