1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
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 ==============================================================================*/
7 #if !defined(FUSION_BEGIN_IMPL_07202005_0849)
8 #define FUSION_BEGIN_IMPL_07202005_0849
10 namespace boost { namespace fusion
12 struct reverse_view_tag;
14 template <typename Iterator>
15 struct reverse_view_iterator;
19 template <typename Tag>
23 struct begin_impl<reverse_view_tag>
25 template <typename Sequence>
28 typedef reverse_view_iterator<typename Sequence::last_type> type;
30 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
32 call(Sequence const& s)
34 return type(s.last());