1 /*=============================================================================
2 Copyright (c) 2001-2011 Joel de Guzman
3 Copyright (c) 2005 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(FUSION_BEGIN_IMPL_07172005_0824)
9 #define FUSION_BEGIN_IMPL_07172005_0824
11 #include <boost/fusion/support/config.hpp>
12 #include <boost/mpl/if.hpp>
13 #include <boost/type_traits/is_const.hpp>
15 namespace boost { namespace fusion
21 template <typename Car, typename Cdr>
24 template <typename Cons>
29 template <typename Tag>
33 struct begin_impl<cons_tag>
35 template <typename Sequence>
38 typedef cons_iterator<Sequence> type;
40 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED