Chris@16: /*============================================================================= Chris@16: Copyright (c) 2011 Eric Niebler 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_SEGMENTED_BEGIN_HPP_INCLUDED) Chris@16: #define BOOST_FUSION_SEGMENTED_BEGIN_HPP_INCLUDED Chris@16: Chris@101: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: #include Chris@16: Chris@16: namespace boost { namespace fusion { namespace detail Chris@16: { Chris@16: //auto segmented_begin( seq ) Chris@16: //{ Chris@16: // return make_segmented_iterator( segmented_begin_impl( seq, nil_ ) ); Chris@16: //} Chris@16: Chris@16: template Chris@16: struct segmented_begin Chris@16: { Chris@16: typedef Chris@16: segmented_iterator< Chris@16: typename segmented_begin_impl::type Chris@16: > Chris@16: type; Chris@16: Chris@101: BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED Chris@16: static type call(Sequence& seq) Chris@16: { Chris@16: return type( Chris@16: segmented_begin_impl::call(seq, Nil_())); Chris@16: } Chris@16: }; Chris@16: Chris@16: }}} Chris@16: Chris@16: #endif