1 /*=============================================================================
2 Copyright (c) 2007 Tobias Schwinger
4 Distributed under the Boost Software License, Version 1.0. (See accompanying
5 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 ==============================================================================*/
8 #if !defined(BOOST_FUSION_REPETITIVE_VIEW_DEREF_IMPL_HPP_INCLUDED)
9 #define BOOST_FUSION_REPETITIVE_VIEW_DEREF_IMPL_HPP_INCLUDED
11 #include <boost/fusion/support/config.hpp>
12 #include <boost/fusion/iterator/deref.hpp>
14 namespace boost { namespace fusion
16 struct repetitive_view_iterator_tag;
20 template<typename Tag>
24 struct deref_impl<repetitive_view_iterator_tag>
26 template<typename Iterator>
30 result_of::deref<typename Iterator::pos_type>::type
33 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
34 static type call(Iterator const& i)