1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2011 Eric Niebler
5 Distributed under the Boost Software License, Version 1.0. (See accompanying
6 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
7 ==============================================================================*/
8 #if !defined(BOOST_FUSION_SINGLE_VIEW_BEGIN_IMPL_05052005_0305)
9 #define BOOST_FUSION_SINGLE_VIEW_BEGIN_IMPL_05052005_0305
11 #include <boost/fusion/support/config.hpp>
12 #include <boost/mpl/int.hpp>
14 namespace boost { namespace fusion
16 struct single_view_tag;
18 template <typename SingleView, typename Pos>
19 struct single_view_iterator;
23 template <typename Tag>
27 struct begin_impl<single_view_tag>
29 template <typename Sequence>
32 typedef single_view_iterator<Sequence, mpl::int_<0> > type;
34 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED