Chris@16: /*============================================================================= Chris@16: Copyright (c) 2001-2011 Joel de Guzman Chris@16: Copyright (c) 2005-2006 Dan Marsden Chris@16: Chris@16: Distributed under the Boost Software License, Version 1.0. (See accompanying Chris@16: file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) Chris@16: ==============================================================================*/ Chris@16: #if !defined(BOOST_FUSION_BEGIN_IMPL_31122005_1209) Chris@16: #define BOOST_FUSION_BEGIN_IMPL_31122005_1209 Chris@16: Chris@101: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: namespace boost { namespace fusion { Chris@16: Chris@16: struct mpl_sequence_tag; Chris@16: Chris@16: namespace extension Chris@16: { Chris@16: template Chris@16: struct begin_impl; Chris@16: Chris@16: template <> Chris@16: struct begin_impl Chris@16: { Chris@16: template Chris@16: struct apply Chris@16: { Chris@16: typedef typename mpl::begin< Chris@16: typename remove_const::type Chris@16: >::type iterator; Chris@16: typedef mpl_iterator type; Chris@16: Chris@101: BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED Chris@16: static type Chris@16: call(Sequence) Chris@16: { Chris@16: return type(); Chris@16: } Chris@16: }; Chris@16: }; Chris@16: } Chris@16: }} Chris@16: Chris@16: #endif