Chris@16: /*============================================================================= Chris@16: Copyright (c) 2009 Hartmut Kaiser 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: Chris@16: #if !defined(BOOST_FUSION_NVIEW_BEGIN_IMPL_SEP_23_2009_1036PM) Chris@16: #define BOOST_FUSION_NVIEW_BEGIN_IMPL_SEP_23_2009_1036PM Chris@16: Chris@101: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: namespace boost { namespace fusion Chris@16: { Chris@16: struct nview_tag; Chris@16: Chris@16: template Chris@16: struct nview_iterator; 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 Sequence::index_type index_type; Chris@16: Chris@16: typedef nview_iterator::type> type; Chris@16: Chris@101: BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED Chris@16: static type call(Sequence& s) Chris@16: { Chris@16: return type(s); Chris@16: } Chris@16: }; Chris@16: }; Chris@16: } Chris@16: Chris@16: }} Chris@16: Chris@16: #endif Chris@16: