File indexing completed on 2025-01-18 09:34:42
0001
0002
0003
0004
0005
0006
0007 #if !defined(BOOST_FUSION_SEGMENTED_BEGIN_HPP_INCLUDED)
0008 #define BOOST_FUSION_SEGMENTED_BEGIN_HPP_INCLUDED
0009
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/fusion/sequence/intrinsic/detail/segmented_begin_impl.hpp>
0012 #include <boost/fusion/iterator/segmented_iterator.hpp>
0013 #include <boost/fusion/view/iterator_range.hpp>
0014 #include <boost/fusion/sequence/intrinsic/begin.hpp>
0015 #include <boost/fusion/sequence/intrinsic/end.hpp>
0016 #include <boost/fusion/sequence/intrinsic/empty.hpp>
0017 #include <boost/fusion/container/list/cons.hpp>
0018
0019 namespace boost { namespace fusion { namespace detail
0020 {
0021
0022
0023
0024
0025
0026 template <typename Sequence, typename Nil_ = fusion::nil_>
0027 struct segmented_begin
0028 {
0029 typedef
0030 segmented_iterator<
0031 typename segmented_begin_impl<Sequence, Nil_>::type
0032 >
0033 type;
0034
0035 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0036 static type call(Sequence& seq)
0037 {
0038 return type(
0039 segmented_begin_impl<Sequence, Nil_>::call(seq, Nil_()));
0040 }
0041 };
0042
0043 }}}
0044
0045 #endif