File indexing completed on 2025-01-18 09:31:07
0001
0002
0003
0004
0005
0006
0007 #if !defined(BOOST_FUSION_BEGIN_IMPL_09242011_1744)
0008 #define BOOST_FUSION_BEGIN_IMPL_09242011_1744
0009
0010 #include <boost/fusion/support/config.hpp>
0011 #include <boost/fusion/adapted/std_tuple/std_tuple_iterator.hpp>
0012
0013 namespace boost { namespace fusion
0014 {
0015 struct std_tuple_tag;
0016
0017 namespace extension
0018 {
0019 template<typename T>
0020 struct begin_impl;
0021
0022 template <>
0023 struct begin_impl<std_tuple_tag>
0024 {
0025 template <typename Sequence>
0026 struct apply
0027 {
0028 typedef std_tuple_iterator<Sequence, 0> type;
0029
0030 BOOST_CONSTEXPR BOOST_FUSION_GPU_ENABLED
0031 static type
0032 call(Sequence& v)
0033 {
0034 return type(v);
0035 }
0036 };
0037 };
0038 }
0039 }}
0040
0041 #endif